MT#16985 Fix disabling RUN_DAEMON

The value can be (and actually *is*) enclosed in double quotes.

Change-Id: I165e82900d6891feace4a2d7d5b3a88ce70560b2
changes/52/3852/1
Andreas Granig 10 years ago
parent d938afb021
commit 6ef3ad1239

@ -17,7 +17,7 @@ set -e
case "$1" in
install|upgrade)
if [ -f /etc/default/ngcp-panel ]; then
sed -e 's/RUN_DAEMON=yes/RUN_DAEMON=no/' \
sed -e 's/RUN_DAEMON="\?yes"\?/RUN_DAEMON=no/' \
-i /etc/default/ngcp-panel
echo "ngcp-panel disabled. Run ngcpcfg apply to enable."
fi

Loading…
Cancel
Save