]> git.proxmox.com Git - mirror_frr.git/commitdiff
debian: Remove 'Do you want to stop Quagga' Question
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 3 Feb 2016 19:44:56 +0000 (14:44 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 3 Feb 2016 19:44:56 +0000 (14:44 -0500)
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>
debian/quagga.prerm
debian/quagga.templates [deleted file]

index ba9ad953afeb01bab6f3b55a7d82d8db8944768c..97754122539f424d57f0a844c3c604f1461bcea6 100644 (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)
diff --git a/debian/quagga.templates b/debian/quagga.templates
deleted file mode 100644 (file)
index b161cd7..0000000
+++ /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.