mirror of https://github.com/sipwise/kamailio.git
We removed the init script, let's cleanup fully. Remove now obsolete preinst maintscript. And remove unused and incorrectly named lintian override file. Change-Id: Ie08720a5c44d27f698de52f038608b47e5901ce7changes/77/20877/1
parent
e27e59a1d0
commit
c0b57485b1
@ -1 +0,0 @@
|
||||
ngcp-kamailio: postrm-contains-additional-updaterc.d-calls etc/init.d/kamailio-lb
|
||||
@ -1,27 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
install|upgrade)
|
||||
if [ -f /etc/default/kamailio-lb ]; then
|
||||
sed -e 's/RUN_KAMAILIO=yes/RUN_KAMAILIO=no/' \
|
||||
-i /etc/default/kamailio-lb
|
||||
fi
|
||||
if [ -f /etc/default/kamailio-proxy ]; then
|
||||
sed -e 's/RUN_KAMAILIO=yes/RUN_KAMAILIO=no/' \
|
||||
-i /etc/default/kamailio-proxy
|
||||
fi
|
||||
echo "kamailio disabled. Run ngcpcfg apply to enable."
|
||||
;;
|
||||
|
||||
abort-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "preinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
Loading…
Reference in new issue