summaryrefslogtreecommitdiff
path: root/scripts/vyatta-cfg-cmd-wrapper
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2010-05-05 16:50:44 -0700
committerMichael Larson <slioch@slioch.vyatta.com>2010-05-05 16:50:44 -0700
commit0d020c8b938443ac8875bcfcff231dd1bf0d1d41 (patch)
tree1f82593a10110b9b2872992e3dcdfe5a19115e32 /scripts/vyatta-cfg-cmd-wrapper
parent0ffdc5e6d89f9677694a8eef916b07c089264753 (diff)
downloadvyatta-cfg-0d020c8b938443ac8875bcfcff231dd1bf0d1d41.tar.gz
vyatta-cfg-0d020c8b938443ac8875bcfcff231dd1bf0d1d41.zip
boot loader support now added. various bug fixes and some small rework.
Diffstat (limited to 'scripts/vyatta-cfg-cmd-wrapper')
-rwxr-xr-xscripts/vyatta-cfg-cmd-wrapper8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/vyatta-cfg-cmd-wrapper b/scripts/vyatta-cfg-cmd-wrapper
index 93acd4f..3b2f040 100755
--- a/scripts/vyatta-cfg-cmd-wrapper
+++ b/scripts/vyatta-cfg-cmd-wrapper
@@ -212,6 +212,14 @@ case "$1" in
/opt/vyatta/sbin/my_delete "${@:2}"
RET_STATUS=$?
;;
+ deactivate)
+ /opt/vyatta/sbin/vyatta-activate-config.pl deactivate "${@:2}"
+ RET_STATUS=$?
+ ;;
+ activate)
+ /opt/vyatta/sbin/vyatta-activate-config.pl activate "${@:2}"
+ RET_STATUS=$?
+ ;;
commit)
# debug file /tmp/bar should be deleted before release
/opt/vyatta/sbin/my_commit -a >> /tmp/bar