[Pkg-net-snmp-commits] [pkg-net-snmp] 03/12: describe it as SNMP
Hideki Yamane
henrich at moszumanska.debian.org
Sun Mar 30 10:01:31 UTC 2014
This is an automated email from the git hooks/post-receive script.
henrich pushed a commit to branch master
in repository pkg-net-snmp.
commit 48500ddd95c556613aa16e846c933b385aaff279
Author: Hideki Yamane <henrich at debian.org>
Date: Sun Mar 30 18:31:21 2014 +0900
describe it as SNMP
---
debian/snmpd.init | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/snmpd.init b/debian/snmpd.init
index e5bc6a6..f2824fc 100644
--- a/debian/snmpd.init
+++ b/debian/snmpd.init
@@ -40,7 +40,7 @@ cd /
case "$1" in
start)
- log_daemon_msg "Starting network management services:"
+ log_daemon_msg "Starting SNMP services:"
# remove old symlink with previous version
if [ -L /var/run/agentx ]; then
rm -f /var/run/agentx
@@ -60,14 +60,14 @@ case "$1" in
fi
;;
stop)
- log_daemon_msg "Stopping network management services:"
+ log_daemon_msg "Stopping SNMP services:"
start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID
log_progress_msg " snmpd"
start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmptrapd && [ ! -f $TRAPD_PID ] || rm $TRAPD_PID
log_progress_msg " snmptrapd"
;;
restart)
- log_daemon_msg "Restarting network management services:"
+ log_daemon_msg "Restarting SNMP services:"
start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID
start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmptrapd && [ ! -f $TRAPD_PID ] || rm $TRAPD_PID
# Allow the daemons time to exit completely.
@@ -84,7 +84,7 @@ case "$1" in
fi
;;
reload|force-reload)
- log_daemon_msg "Reloading network management services:"
+ log_daemon_msg "Reloading SNMP services:"
if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then
start-stop-daemon --quiet --stop --signal 1 \
--pidfile /var/run/snmpd.pid --exec /usr/sbin/snmpd
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-net-snmp/pkg-net-snmp.git
More information about the Pkg-net-snmp-commits
mailing list