diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-03-09 10:58:39 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-03-11 08:15:16 +0100 |
commit | 62e7a578afe928c07a96d971a79f284b2b468fcc (patch) | |
tree | 7ed245b3d31cc4cd85cada2db7b5a10dab2542ec /projectroot | |
parent | 7e87c575127e4c4099f2647e7f1df6a6a16d6ca0 (diff) | |
download | ptxdist-62e7a578afe928c07a96d971a79f284b2b468fcc.tar.gz ptxdist-62e7a578afe928c07a96d971a79f284b2b468fcc.tar.xz |
gpsd: remove dead init script
The init script was never installed and nobody cared, so just remove it.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rw-r--r-- | projectroot/etc/init.d/gpsd | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/projectroot/etc/init.d/gpsd b/projectroot/etc/init.d/gpsd deleted file mode 100644 index 1a3706d57..000000000 --- a/projectroot/etc/init.d/gpsd +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -PATH=/sbin:/usr/sbin:/bin:/usr/bin -DESC="GPS (Global Positioning System) daemon" -NAME=gpsd -DAEMON=/usr/sbin/$NAME -PIDFILE=/var/run/$NAME.pid -SCRIPTNAME=/etc/init.d/$NAME - -GPSD_OPTIONS="-n" -DEVICES="/dev/ttyS2" - -case "$1" in - start) - echo -n "Starting $DESC" "$NAME" - if start-stop-daemon -S -q -p $PIDFILE -x $DAEMON -- \ - $GPSD_OPTIONS -P $PIDFILE $DEVICES; then - echo done - else - echo failed - exit 1 - fi - ;; - stop) - echo "Stopping $DESC" "$NAME" - start-stop-daemon -K -q -p $PIDFILE --name $NAME - ;; - *) - echo "Usage: $SCRIPTNAME {start|stop}" >&2 - exit 3 - ;; -esac |