aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel/files/snmpd.sh.sample
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2006-03-23 22:24:03 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2006-03-23 22:24:03 +0000
commit96fe98e1c6bc0301781b0dd7dbfeef3e3f137f43 (patch)
tree7650cfe102643b74d6ad1d3efe1771281b5e66f0 /net-mgmt/net-snmp-devel/files/snmpd.sh.sample
parent503c7f7052756548d3712a6b0f3fb6d32ddbb8e9 (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_5_5_0'.release/5.5.0
Notes
Notes: svn path=/head/; revision=158034 svn path=/tags/RELEASE_5_5_0/; revision=158035; tag=release/5.5.0
Diffstat (limited to 'net-mgmt/net-snmp-devel/files/snmpd.sh.sample')
-rw-r--r--net-mgmt/net-snmp-devel/files/snmpd.sh.sample35
1 files changed, 0 insertions, 35 deletions
diff --git a/net-mgmt/net-snmp-devel/files/snmpd.sh.sample b/net-mgmt/net-snmp-devel/files/snmpd.sh.sample
deleted file mode 100644
index 062017469936..000000000000
--- a/net-mgmt/net-snmp-devel/files/snmpd.sh.sample
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# PROVIDE: snmpd
-# REQUIRE: DAEMON
-#
-# Add the following line to /etc/rc.conf to enable snmpd:
-#
-# snmpd_enable="YES"
-#
-
-snmpd_enable=${snmpd_enable-"NO"}
-snmpd_flags=${snmpd_flags-"-p /var/run/snmpd.pid"}
-
-. %%RC_SUBR%%
-
-load_rc_config net_snmpd
-
-if [ ! -z "$net_snmpd_enable" ]; then
- echo "Warning: \$net_snmpd_enable is obsoleted."
- echo " Use \$snmpd_enable instead."
- snmpd_enable="$net_snmpd_enable"
- [ ! -z "$net_snmpd_flags" ] && snmpd_flags="$net_snmpd_flags"
-fi
-
-name=snmpd
-rcvar=`set_rcvar`
-
-command=%%PREFIX%%/sbin/${name}
-pidfile=/var/run/${name}.pid
-sig_stop=-KILL
-
-load_rc_config ${name}
-run_rc_command "$1"