diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-17 14:49:19 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-17 14:49:19 -0700 |
commit | a5a79662170208a0905ca6f42ad531faff4cf198 (patch) | |
tree | 600ca924a416b19e72d8f9f1425bb5ea106b6cc6 /templates | |
parent | 438ba2e6d8781b7e4a5b00e7cef1e24a9da69936 (diff) | |
download | vyatta-wanloadbalance-a5a79662170208a0905ca6f42ad531faff4cf198.tar.gz vyatta-wanloadbalance-a5a79662170208a0905ca6f42ad531faff4cf198.zip |
fix packaging problem
* package was installing op templates into the config templates directory and then move them into the op templates directory *during postinst*.
* this *might* be ok for editable config files but is definitely *not* the correct installation method for files "owned" by the package.
* do it the right (and simpler) way: install op templates into the op templates directory.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/restart/wan-load-balance/node.def | 6 | ||||
-rw-r--r-- | templates/show/wan-load-balance/connection/node.def | 9 | ||||
-rw-r--r-- | templates/show/wan-load-balance/node.def | 9 | ||||
-rw-r--r-- | templates/show/wan-load-balance/status/node.def | 7 |
4 files changed, 0 insertions, 31 deletions
diff --git a/templates/restart/wan-load-balance/node.def b/templates/restart/wan-load-balance/node.def deleted file mode 100644 index af6b1f6..0000000 --- a/templates/restart/wan-load-balance/node.def +++ /dev/null @@ -1,6 +0,0 @@ -help: Restart WAN load balancing -run: if [ -f /var/load-balance/wlb.out ] ; then - sudo /opt/vyatta/sbin/vyatta-wanloadbalance.init restart /var/load-balance/wlb.conf 2>/dev/null - else - echo WAN load balancing is not configured - fi
\ No newline at end of file diff --git a/templates/show/wan-load-balance/connection/node.def b/templates/show/wan-load-balance/connection/node.def deleted file mode 100644 index d5ec64e..0000000 --- a/templates/show/wan-load-balance/connection/node.def +++ /dev/null @@ -1,9 +0,0 @@ -help: Show Wide Area Network (WAN) load-balancing flow -run: if [ -f /var/load-balance/wlb.out ] ; then - sudo ${vyatta_bindir}/sudo-users/vyatta-wlb-connection.pl - else - echo WAN load balancing is not configured - fi - - - diff --git a/templates/show/wan-load-balance/node.def b/templates/show/wan-load-balance/node.def deleted file mode 100644 index 0165620..0000000 --- a/templates/show/wan-load-balance/node.def +++ /dev/null @@ -1,9 +0,0 @@ -help: Show Wide Area Network (WAN) load-balancing information -run: if [ -f /var/load-balance/wlb.out ] ; then - cat /var/load-balance/wlb.out - else - echo WAN load balancing is not configured - fi - - - diff --git a/templates/show/wan-load-balance/status/node.def b/templates/show/wan-load-balance/status/node.def deleted file mode 100644 index ff63a2e..0000000 --- a/templates/show/wan-load-balance/status/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: Show WAN load-balancing statistics -run: if [ -f /var/load-balance/wlb.out ] ; then - sudo ${vyatta_bindir}/sudo-users/vyatta-wlb-status - else - echo WAN load balancing is not configured - fi - |