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

LOADBALANCE_DIR=/var/load-balance


prefix=/opt/vyatta
sysconfdir=${prefix}/etc

mkdir -p $LOADBALANCE_DIR
chmod 0755 $LOADBALANCE_DIR

update-rc.d -f vyatta-wanloadbalance defaults 2>/dev/null

#now move op cmds to correct location
mv /opt/vyatta/share/vyatta-cfg/templates/show/wan-load-balance /opt/vyatta/share/vyatta-op/templates/show/wan-load-balance