summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-vpn.postinst.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/vyatta-cfg-vpn.postinst.in')
-rw-r--r--debian/vyatta-cfg-vpn.postinst.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-vpn.postinst.in b/debian/vyatta-cfg-vpn.postinst.in
new file mode 100644
index 0000000..e56e2e8
--- /dev/null
+++ b/debian/vyatta-cfg-vpn.postinst.in
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+sysconfdir=@sysconfdir@
+bindir=@bindir@
+sbindir=@sbindir@
+
+# remove init of daemons that we start/stop
+for init in openswan; do
+ update-rc.d -f ${init} remove >/dev/null
+done
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 4
+# End: