chiark / gitweb /
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 38fffb71b0d4f2b8ffe8f504205a50fafb6abea3..8fcde4f517acd59b9a9bab20510e8d9c41be4a10 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 a223771b25dce9bc7e6b9a9128e278ebfe9a4c4e..b406e55ccab7b9e628121651c58e41ad81d158b2 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#