summaryrefslogtreecommitdiff
path: root/solaris
diff options
context:
space:
mode:
authorPaul Jakma <paul@quagga.net>2009-06-23 14:30:52 +0100
committerPaul Jakma <paul@quagga.net>2009-06-23 14:30:52 +0100
commitba803bd51cdf3decfc740b3d7287fe51228f78fb (patch)
tree69396dbcdc22d42df6356265c7998bd92e503e8c /solaris
parent50aef6f3b0e36b56cfa9f3d374be0c1d25c30c45 (diff)
parent3523bea8cbe98c83e3d1bdeb60180c8e59622773 (diff)
Merge remote branch 'origin/master'
Diffstat (limited to 'solaris')
-rwxr-xr-xsolaris/quagga.init.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/solaris/quagga.init.in b/solaris/quagga.init.in
index 8b298c37..8457e990 100755
--- a/solaris/quagga.init.in
+++ b/solaris/quagga.init.in
@@ -281,7 +281,7 @@ start () {
eval exec $DAEMON_PATH/$DAEMON $DAEMON_ARGS --pid_file ${PIDFILE} &
}
-stop () {
+stop_by_pidfile () {
if [ -f "${PIDFILE}" ]; then
/usr/bin/kill -TERM `/usr/bin/cat "${PIDFILE}"`
fi
@@ -292,7 +292,7 @@ case "$QUAGGA_METHOD" in
start
;;
'stop')
- stop
+ stop_by_pidfile
;;
*)