init script fixes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Apr 2017 10:13:11 +0000 (11:13 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Apr 2017 10:13:11 +0000 (11:13 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/hippotat.init
debian/hippotat.postinst

index 38fffb7..8fcde4f 100644 (file)
@@ -20,7 +20,7 @@ LOGFACILITY=daemon
 . /etc/default/hippotatd
 
 test -f $DAEMON || exit 0
-egrep '^[^     #]' $MASTER_CONFIG >/dev/null || exit 0
+egrep '^[^     #]' $MASTER_CONFIG >/dev/null 2>&1 || exit 0
 
 . /lib/lsb/init-functions
 
index a223771..b406e55 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 set -e
-#DEBHELPER#
 mkdir -p -m700 /etc/hippotat
 adduser --system --group --force-badname --shell=/bin/bash \
        --home /etc/hippotat Debian-hippotat
+#DEBHELPER#