debian: Remove 'Do you want to stop Quagga' Question

During the upgrade process of quagga, the user is asked
if they would like to stop quagga.  There is no point in
asking this question.  The fact that you are upgrading
means you are willing for a service interruption.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2016-02-03 14:44:56 -05:00
parent 14a4730101
commit a5ac78cfea
2 changed files with 0 additions and 19 deletions

13
debian/quagga.prerm vendored
View File

@ -12,19 +12,6 @@ ${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*"}
# deconfigured's-prerm deconfigure in-favour package-being-installed version removing conflicting-package
case $1 in
remove|upgrade)
# Trying to prevents the user from cutting his network connection if
# one or more servers seem to be started.
if [ -n "`ls /var/run/quagga/*.pid 2>/dev/null`" ]; then
db_fset quagga/really_stop seen false || true
db_input high quagga/really_stop || true
db_go || true
db_get quagga/really_stop || true
if [ "$RET" = "false" ]; then
db_stop
echo "*** As requested via Debconf, the Quagga daemon will not stop! ***" 1>&2
exit 1
fi
fi
;;
failed-upgrade)

View File

@ -1,6 +0,0 @@
Template: quagga/really_stop
Type: boolean
Default: false
_Description: Do you really want to stop the Quagga daemon?
WARNING: The Quagga routing daemon has to be stopped to proceed. This
could lead to BGP flaps or loss of network connectivity.