summaryrefslogtreecommitdiff
path: root/etc/miavd.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/miavd.in')
-rwxr-xr-xetc/miavd.in10
1 files changed, 3 insertions, 7 deletions
diff --git a/etc/miavd.in b/etc/miavd.in
index fb7c462..abad632 100755
--- a/etc/miavd.in
+++ b/etc/miavd.in
@@ -50,12 +50,6 @@ start() {
return $RETVAL
}
-status() {
- [ -f $lockfile ] || return 3
- status -p ${_PID} miavd
- status miavd
-}
-
stop() {
echo -n $"$prog: Stopping miav server: "
if [ ! -f $lockfile ]
@@ -88,7 +82,9 @@ case "$1" in
stop
;;
status)
- status miavd
+ [ -f $lockfile ] || return 3
+ [ -f ${_PID} ] || return 3
+ status -p ${_PID} miavd
;;
restart|force-reload)
stop