From a5ac78cfeac1dd8927111f153f8205ad69dba94e Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 3 Feb 2016 14:44:56 -0500 Subject: [PATCH] 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 --- debian/quagga.prerm | 13 ------------- debian/quagga.templates | 6 ------ 2 files changed, 19 deletions(-) delete mode 100644 debian/quagga.templates diff --git a/debian/quagga.prerm b/debian/quagga.prerm index ba9ad953af..9775412253 100644 --- a/debian/quagga.prerm +++ b/debian/quagga.prerm @@ -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) diff --git a/debian/quagga.templates b/debian/quagga.templates deleted file mode 100644 index b161cd71d9..0000000000 --- a/debian/quagga.templates +++ /dev/null @@ -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.