From 477169b146487f743bcdf771b3ce1028cf72e313 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 9 Apr 2017 11:13:11 +0100 Subject: [PATCH] init script fixes Signed-off-by: Ian Jackson --- debian/hippotat.init | 2 +- debian/hippotat.postinst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/hippotat.init b/debian/hippotat.init index 38fffb7..8fcde4f 100644 --- a/debian/hippotat.init +++ b/debian/hippotat.init @@ -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 diff --git a/debian/hippotat.postinst b/debian/hippotat.postinst index a223771..b406e55 100644 --- a/debian/hippotat.postinst +++ b/debian/hippotat.postinst @@ -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# -- 2.11.0