summaryrefslogtreecommitdiff
path: root/scripts/vyatta-cfg-cmd-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-cfg-cmd-wrapper')
-rwxr-xr-xscripts/vyatta-cfg-cmd-wrapper4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/vyatta-cfg-cmd-wrapper b/scripts/vyatta-cfg-cmd-wrapper
index 144fc2a..cf10fc5 100755
--- a/scripts/vyatta-cfg-cmd-wrapper
+++ b/scripts/vyatta-cfg-cmd-wrapper
@@ -90,6 +90,10 @@ case "$1" in
/opt/vyatta/sbin/vyatta-save-config.pl "${@:2}"
RET_STATUS=$?
;;
+ load)
+ /opt/vyatta/sbin/vyatta-load-config.pl "${@:2}"
+ RET_STATUS=$?
+ ;;
*)
echo "Invalid command \"$1\" for vyatta-cfg-cmd-wrapper"
RET_STATUS=1