summaryrefslogtreecommitdiff
path: root/debian/vyatta-wanloadbalance.postinst
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-01-30 17:19:15 -0800
committerMichael Larson <slioch@eng-140.vyatta.com>2008-01-30 17:19:15 -0800
commit07e2dbf1d5a98860333aefa989370305467c2254 (patch)
tree99efbe8822ec249b1c8ded9054f4821ec2ca6f37 /debian/vyatta-wanloadbalance.postinst
parentad4a7086e81292e0aa76b98739356a02ff9873ed (diff)
downloadvyatta-wanloadbalance-07e2dbf1d5a98860333aefa989370305467c2254.tar.gz
vyatta-wanloadbalance-07e2dbf1d5a98860333aefa989370305467c2254.zip
numerous changes: added help, added init script, modified source to support daemon and pid creation, fixed conf file creation when
using cli. postinst. etc.
Diffstat (limited to 'debian/vyatta-wanloadbalance.postinst')
-rw-r--r--debian/vyatta-wanloadbalance.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyatta-wanloadbalance.postinst b/debian/vyatta-wanloadbalance.postinst
index df7abe7..8c20985 100644
--- a/debian/vyatta-wanloadbalance.postinst
+++ b/debian/vyatta-wanloadbalance.postinst
@@ -2,10 +2,13 @@
LOADBALANCE_DIR=/var/load-balance
+
prefix=/opt/vyatta
sysconfdir=${prefix}/etc
mkdir -p $LOADBALANCE_DIR
chmod 0755 $LOADBALANCE_DIR
+mv /etc/init.d/vyatta-wanloadbalance.init /etc/init.d/vyatta-wanloadbalance
+
#nothing