summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/gld/files/gld.sh4
-rw-r--r--sysutils/swapd/files/swapd.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/mail/gld/files/gld.sh b/mail/gld/files/gld.sh
index 4f532da2aa1..73e66ae020c 100644
--- a/mail/gld/files/gld.sh
+++ b/mail/gld/files/gld.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: gld.sh,v 1.2 2004/11/29 15:46:25 xtraeme Exp $
+# $NetBSD: gld.sh,v 1.3 2004/11/29 16:17:22 xtraeme Exp $
#
# PROVIDE: gld
@@ -15,7 +15,7 @@ command="@PREFIX@/bin/${name}"
required_files="@PKG_SYSCONFDIR@/$name.conf"
pidfile="@VARBASE@/run/${name}.pid"
-if [ "$1" != "stop" ]; then
+if [ "$1" != "stop" -o "$1" != "status" ]; then
echo $(check_process $command) > $pidfile
fi
diff --git a/sysutils/swapd/files/swapd.sh b/sysutils/swapd/files/swapd.sh
index 73631f6ceae..f32a52ecfa0 100644
--- a/sysutils/swapd/files/swapd.sh
+++ b/sysutils/swapd/files/swapd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: swapd.sh,v 1.2 2004/11/05 16:19:58 xtraeme Exp $
+# $NetBSD: swapd.sh,v 1.3 2004/11/29 16:19:19 xtraeme Exp $
#
# PROVIDE: swapd
# REQUIRE: DAEMON LOGIN
@@ -17,6 +17,6 @@ sig_stop="KILL"
load_rc_config $name
run_rc_command "$1"
-if [ "$1" != "stop" ]; then
+if [ "$1" != "stop" -o "$1" != "status" ]; then
echo $(check_process $command) > $pidfile
fi