summaryrefslogtreecommitdiff
path: root/debian/echolot.init
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2004-11-14 22:54:11 +0000
committerPeter Palfrader <peter@palfrader.org>2004-11-14 22:54:11 +0000
commit37f9798469b1240c131a83086986b7494b627e2a (patch)
tree28452dc0b0959d5f1e2572277ca5e3f6aa71b49a /debian/echolot.init
parent35e54656cb0d8629bae2668d445f644d56cd184a (diff)
Handle empty PATH too
Diffstat (limited to 'debian/echolot.init')
-rwxr-xr-xdebian/echolot.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/echolot.init b/debian/echolot.init
index 50fcabc..fc14c63 100755
--- a/debian/echolot.init
+++ b/debian/echolot.init
@@ -20,6 +20,9 @@ DESC="Echolot Ping Daemon"
NAME="pingd"
test -f $DAEMON || exit 0
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+export PATH
+
# Reads config file (will override defaults above)
[ -r /etc/default/echolot ] && . /etc/default/echolot