diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-07-20 14:20:45 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-07-20 14:20:45 -0700 |
commit | 6a27931ec222299cd3533a8a2298651e7ce643a7 (patch) | |
tree | d81e3985eb1aa5ad4ee21c5a0af75fe9e8d677ba /templates/restart/vrrp | |
parent | 24c341672200ad657fb6192c8f1b5c106933eb3a (diff) | |
download | vyatta-op-6a27931ec222299cd3533a8a2298651e7ce643a7.tar.gz vyatta-op-6a27931ec222299cd3533a8a2298651e7ce643a7.zip |
part of fix for BZ 5839 - move clear process cmds under restart
Diffstat (limited to 'templates/restart/vrrp')
-rw-r--r-- | templates/restart/vrrp/node.def | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/restart/vrrp/node.def b/templates/restart/vrrp/node.def new file mode 100644 index 0000000..a0629c7 --- /dev/null +++ b/templates/restart/vrrp/node.def @@ -0,0 +1,6 @@ +help: Restart VRRP +run: if [ -e /etc/keepalived/keepalived.conf ] && [ -n "`grep vyatta /etc/keepalived/keepalived.conf `" ] ; then + sudo /opt/vyatta/bin/sudo-users/vyatta-clear-vrrp.pl --vrrp-action clear_process + else + echo VRRP not configured + fi
\ No newline at end of file |