diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2009-05-01 11:05:05 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2009-05-01 11:05:05 -0700 |
commit | 25a349a53fdb2462e10be4690bb1fb20950ba4b8 (patch) | |
tree | 7d3eff54401c6016fdf441042246baa102d452c5 | |
parent | f1f44affb98c4f66ec22d7ea9d504ca1c9b7ba9b (diff) | |
download | vyatta-cfg-25a349a53fdb2462e10be4690bb1fb20950ba4b8.tar.gz vyatta-cfg-25a349a53fdb2462e10be4690bb1fb20950ba4b8.zip |
add "load" support in vyatta-cfg-cmd-wrapper
-rwxr-xr-x | scripts/vyatta-cfg-cmd-wrapper | 4 |
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 |