Fix ticket #514 (debconf values are overwritten upon installation)

This commit is contained in:
kytv
2011-08-25 21:33:06 +00:00
parent bb5f3a92b0
commit f674b78edb
4 changed files with 57 additions and 107 deletions

5
debian/i2p.init vendored
View File

@@ -52,6 +52,11 @@ I2P_ARGS="/etc/i2p/wrapper.config \
# read config file
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
if [ -z "$RUN_DAEMON" ]; then
echo "/etc/default/$NAME is not set. Aborting."
exit 1
fi
case "$RUN_DAEMON" in
[NnFf]*)
log_action_msg "$DESC daemon disabled in /etc/default/$NAME".