summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/echolot.init3
-rwxr-xr-xdebian/echolot.postinst1
2 files changed, 4 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
diff --git a/debian/echolot.postinst b/debian/echolot.postinst
index 28edcb2..b638d88 100755
--- a/debian/echolot.postinst
+++ b/debian/echolot.postinst
@@ -34,6 +34,7 @@ if [ "$1" = "configure" ] && [ -e /usr/share/debconf/confmodule ]; then
if dpkg --compare-versions "$2" lt "2.1.7" ; then
. /usr/share/debconf/confmodule
db_purge
+ db_stop
fi
fi