summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg.postrm.in
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-10-17 17:40:42 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-10-17 17:40:42 -0700
commit7ec2c9bb68ed55dc6182de150b904c4d66623771 (patch)
treef0cfc854c9f0e4e0f160bf460868315093c1cb26 /debian/vyatta-cfg.postrm.in
parent5009cb83a189a231e5b588d416819859f5d6acf2 (diff)
downloadvyatta-cfg-7ec2c9bb68ed55dc6182de150b904c4d66623771.tar.gz
vyatta-cfg-7ec2c9bb68ed55dc6182de150b904c4d66623771.zip
import the vyatta-ofr init script from old eureka.
Diffstat (limited to 'debian/vyatta-cfg.postrm.in')
-rw-r--r--debian/vyatta-cfg.postrm.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/vyatta-cfg.postrm.in b/debian/vyatta-cfg.postrm.in
new file mode 100644
index 0000000..262b9fe
--- /dev/null
+++ b/debian/vyatta-cfg.postrm.in
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+if [ "$1" = "purge" ]; then
+ update-rc.d vyatta-ofr remove >/dev/null || exit $?
+fi
+