summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-02-11 16:14:07 -0800
committerMichael Larson <slioch@eng-140.vyatta.com>2008-02-11 16:14:07 -0800
commitc176c2df0879e2339fdcc430edae55111f97842b (patch)
tree1bf9ff66c4d137d744b5558fe79d6dcc382b9be8 /debian
parentb71a8e2a8aad1cebd9f05f002f25f16f19b0620b (diff)
parentf5997468a4aad5000cde8563ed277edbaf11d70f (diff)
downloadvyatta-wanloadbalance-c176c2df0879e2339fdcc430edae55111f97842b.tar.gz
vyatta-wanloadbalance-c176c2df0879e2339fdcc430edae55111f97842b.zip
Merge branch 'master' into glendale
Conflicts: debian/vyatta-wanloadbalance.postinst debian/vyatta-wanloadbalance.postrm
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-wanloadbalance.postinst.in7
-rw-r--r--debian/vyatta-wanloadbalance.postrm.in3
2 files changed, 7 insertions, 3 deletions
diff --git a/debian/vyatta-wanloadbalance.postinst.in b/debian/vyatta-wanloadbalance.postinst.in
index dea57dc..0a900f6 100644
--- a/debian/vyatta-wanloadbalance.postinst.in
+++ b/debian/vyatta-wanloadbalance.postinst.in
@@ -3,10 +3,11 @@
LOADBALANCE_DIR=/var/load-balance
-prefix=@prefix@
-sysconfdir=@sysconfdir@
+prefix=/opt/vyatta
+sysconfdir=${prefix}/etc
mkdir -p $LOADBALANCE_DIR
chmod 0755 $LOADBALANCE_DIR
-#nothing
+update-rc.d -f vyatta-wanloadbalance defaults 2>/dev/null
+
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