summaryrefslogtreecommitdiff
path: root/debian/vyatta-wanloadbalance.postinst.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/vyatta-wanloadbalance.postinst.in')
-rw-r--r--debian/vyatta-wanloadbalance.postinst.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyatta-wanloadbalance.postinst.in b/debian/vyatta-wanloadbalance.postinst.in
index c1504fd..b2ee583 100644
--- a/debian/vyatta-wanloadbalance.postinst.in
+++ b/debian/vyatta-wanloadbalance.postinst.in
@@ -14,4 +14,7 @@ touch ${LOADBALANCE_DIR}/wlb.conf
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
rm -fr /opt/vyatta/share/vyatta-cfg/templates/show
+rm -fr /opt/vyatta/share/vyatta-op/templates/clear/wan-load-balance/*
+mv /opt/vyatta/share/vyatta-cfg/templates/clear/wan-load-balance /opt/vyatta/share/vyatta-op/templates/clear/. 2>/dev/null
+rm -fr /opt/vyatta/share/vyatta-cfg/templates/clear
exit 0