explicitly mention startup code, it's goint to be removed from rc.local

This commit is contained in:
sturm 2006-07-28 20:17:52 +00:00
parent 85ac1ae19b
commit e84cb5a44a
4 changed files with 14 additions and 8 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.16 2006/06/18 12:00:03 steven Exp $
# $OpenBSD: Makefile,v 1.17 2006/07/28 20:17:52 sturm Exp $
COMMENT= "extendable SNMP implementation"
COMMENT-perl= "SNMP modules for Perl"
DISTNAME= net-snmp-5.1.3
PKGNAME= ${DISTNAME}p2
PKGNAME= ${DISTNAME}p3
FULLPKGNAME-perl= p5-SNMP-5.1.3p2
SHARED_LIBS= netsnmp 6.3 \
netsnmpagent 6.3 \

View File

@ -1,9 +1,9 @@
To have snmpd start at boot time, you must edit ${SYSCONFDIR}/snmp/snmpd.conf
and uncomment the following in /etc/rc.local.
and add the following lines to /etc/rc.local:
#if [ -x ${PREFIX}/sbin/snmpd ]; then
# echo -n ' snmpd'; ${PREFIX}/sbin/snmpd
#fi
if [ -x ${PREFIX}/sbin/snmpd ]; then
echo -n ' snmpd'; ${PREFIX}/sbin/snmpd
fi
This will start snmpd and use ${SYSCONFDIR}/snmp/snmpd.conf for the configuration.
The snmpconf tool can be used to help edit your configuration files. See

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.8 2005/11/17 02:28:39 naddy Exp $
# $OpenBSD: Makefile,v 1.9 2006/07/28 20:17:52 sturm Exp $
COMMENT= "AFP file and print services for AppleTalk/IP networks"
DISTNAME= netatalk-1.6.3
PKGNAME= ${DISTNAME}p2
PKGNAME= ${DISTNAME}p3
CATEGORIES= net
HOMEPAGE= http://netatalk.sourceforge.net/

View File

@ -0,0 +1,6 @@
To start netatalk automatically at boot time, add these lines to
/etc/rc.local:
if [ -f ${SYSCONFDIR}/netatalk/rc.atalk ]; then
. ${SYSCONFDIR}/netatalk/rc.atalk
fi