diff --git a/debian/ngcp-panel.preinst b/debian/ngcp-panel.preinst index ed5c80dd6d..65a69593b1 100644 --- a/debian/ngcp-panel.preinst +++ b/debian/ngcp-panel.preinst @@ -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