svn commit: r254510 - head/etc/rc.d

Peter Wemm peter at FreeBSD.org
Mon Aug 19 05:12:39 UTC 2013


Author: peter
Date: Mon Aug 19 05:12:38 2013
New Revision: 254510
URL: http://svnweb.freebsd.org/changeset/base/254510

Log:
  Revert r254508.

Modified:
  head/etc/rc.d/bsnmpd

Modified: head/etc/rc.d/bsnmpd
==============================================================================
--- head/etc/rc.d/bsnmpd	Mon Aug 19 05:10:46 2013	(r254509)
+++ head/etc/rc.d/bsnmpd	Mon Aug 19 05:12:38 2013	(r254510)
@@ -12,17 +12,7 @@
 name="bsnmpd"
 rcvar="bsnmpd_enable"
 command="/usr/sbin/${name}"
-start_cmd="bsnmpd_start"
-
-bsnmpd_start()
-{
-	rc_flags="-p ${pidfile} ${bsnmpd_flags}"
-	echo -n "Starting bsnmpd"
-	su -m $user -c "$command ${rc_flags}"
-	echo "."
-}
+pidfile="/var/run/snmpd.pid"
 
 load_rc_config $name
-user="${bsnmpd_username:-root}"
-pidfile="${bsnmpd_pidfile:-/var/run/snmpd.pid}"
 run_rc_command "$1"


More information about the svn-src-head mailing list