From 37f9798469b1240c131a83086986b7494b627e2a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 14 Nov 2004 22:54:11 +0000 Subject: Handle empty PATH too --- debian/echolot.init | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian/echolot.init') 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 -- cgit v1.2.3