summaryrefslogtreecommitdiff
path: root/scripts/connman.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/connman.in')
-rw-r--r--scripts/connman.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/connman.in b/scripts/connman.in
index a67f6673..ec98f391 100644
--- a/scripts/connman.in
+++ b/scripts/connman.in
@@ -1,7 +1,6 @@
#!/bin/sh
DAEMON=@prefix@/sbin/connmand
-PIDFILE=@localstatedir@/run/connmand.pid
DESC="Connection Manager"
. /lib/lsb/init-functions
@@ -13,13 +12,11 @@ fi
set -e
do_start() {
- start-stop-daemon --start --oknodo \
- --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS
+ start-stop-daemon --start --oknodo --exec $DAEMON -- $DAEMON_OPTS
}
do_stop() {
- start-stop-daemon --stop --oknodo --quiet \
- --pidfile $PIDFILE --exec $DAEMON
+ start-stop-daemon --stop --oknodo --quiet --exec $DAEMON
}
case "$1" in