summaryrefslogtreecommitdiff
path: root/solaris
diff options
context:
space:
mode:
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
;;
*)