summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-02-03 20:44:56 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-02-03 20:44:56 +0100
commita5ac78cfeac1dd8927111f153f8205ad69dba94e (patch)
treef6958b3fbf42066fd03f96c5e643a524df58191b /debian
parentMerge branch 'cmaster' of ssh://stash.cumulusnetworks.com:7999/quag/quagga in... (diff)
downloadfrr-a5ac78cfeac1dd8927111f153f8205ad69dba94e.tar.xz
frr-a5ac78cfeac1dd8927111f153f8205ad69dba94e.zip
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>
Diffstat (limited to 'debian')
-rw-r--r--debian/quagga.prerm13
-rw-r--r--debian/quagga.templates6
2 files changed, 0 insertions, 19 deletions
diff --git a/debian/quagga.prerm b/debian/quagga.prerm
index ba9ad953a..977541225 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 b161cd71d..000000000
--- 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.