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.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/vyatta-wanloadbalance.postrm.in b/debian/vyatta-wanloadbalance.postrm.in
new file mode 100644
index 0000000..262b9fe
--- /dev/null
+++ b/debian/vyatta-wanloadbalance.postrm.in
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+if [ "$1" = "purge" ]; then
+ update-rc.d vyatta-ofr remove >/dev/null || exit $?
+fi
+