summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorBernd Zeimetz <bernd@bzed.de>2010-07-12 01:03:01 +0200
committerBernd Zeimetz <bernd@bzed.de>2010-07-12 01:03:01 +0200
commit2ec80ea502836e494944cf861da3e8870ae933b4 (patch)
tree13c7058449c43757a1b25b96df662d979102afac /packaging
parent1721fea6f314355f91cae6315b20cec0b81c3637 (diff)
downloadgpsd-2ec80ea502836e494944cf861da3e8870ae933b4.tar.gz
Update init script from latest debian package.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/deb/etc_init.d_gpsd3
1 files changed, 1 insertions, 2 deletions
diff --git a/packaging/deb/etc_init.d_gpsd b/packaging/deb/etc_init.d_gpsd
index 0084d1c1..1c123b87 100644
--- a/packaging/deb/etc_init.d_gpsd
+++ b/packaging/deb/etc_init.d_gpsd
@@ -6,6 +6,7 @@
# Required-Stop: $remote_fs $syslog $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
+# X-Start-Before: ntp
# Short-Description: GPS (Global Positioning System) daemon start/stop script
# Description: Start/Stop script for the gpsd service daemon,
# which is able to monitor one or more GPS devices
@@ -55,7 +56,6 @@ fi
#
do_start()
{
- [ "$EUID" != "0" ] && exit 4
# Return
# 0 if daemon has been started
# 1 if daemon was already running
@@ -72,7 +72,6 @@ do_start()
#
do_stop()
{
- [ "$EUID" != "0" ] && exit 4
# Return
# 0 if daemon has been stopped
# 1 if daemon was already stopped