summaryrefslogtreecommitdiff
path: root/debian/vyatta-wanloadbalance.postinst.in
blob: 3af5d13c20d834b944c6d6d9c7aa216bfee67457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

LOADBALANCE_DIR=/var/load-balance


prefix=/opt/vyatta

mkdir -p $LOADBALANCE_DIR
chmod 0755 $LOADBALANCE_DIR

touch ${LOADBALANCE_DIR}/wlb.conf

#now move op cmds to correct location
rm -fr /opt/vyatta/share/vyatta-op/templates/show/wan-load-balance/*
mv /opt/vyatta/share/vyatta-cfg/templates/show/wan-load-balance /opt/vyatta/share/vyatta-op/templates/show/. 2>/dev/null
exit 0