summaryrefslogtreecommitdiff
path: root/debian/vyatta-wanloadbalance.postrm.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/vyatta-wanloadbalance.postrm.in')
-rw-r--r--debian/vyatta-wanloadbalance.postrm.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyatta-wanloadbalance.postrm.in b/debian/vyatta-wanloadbalance.postrm.in
index 05a7907..c9bc1e8 100644
--- a/debian/vyatta-wanloadbalance.postrm.in
+++ b/debian/vyatta-wanloadbalance.postrm.in
@@ -1,2 +1,5 @@
#!/bin/bash
+which /etc/init.d/vyatta-wanloadbalance >/dev/null && /etc/init.d/vyatta-wanloadbalance stop
+
+update-rc.d vyatta-wanloadbalance remove