diff options
author | James Davidson <james.davidson@vyatta.com> | 2012-08-22 16:03:00 -0700 |
---|---|---|
committer | James Davidson <james.davidson@vyatta.com> | 2012-08-22 16:03:19 -0700 |
commit | e4630e3becc32a9a0f4fff85511f02691b07ae21 (patch) | |
tree | 396d8c1671af3ddd97771dfe98d30aa0e38e1aeb | |
parent | d103be9092a21604f709e6014ec9c4e4a79c6d54 (diff) | |
download | vyatta-cfg-e4630e3becc32a9a0f4fff85511f02691b07ae21.tar.gz vyatta-cfg-e4630e3becc32a9a0f4fff85511f02691b07ae21.zip |
If vclient exists, run it
-rw-r--r-- | functions/interpreter/vyatta-cfg-run | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functions/interpreter/vyatta-cfg-run b/functions/interpreter/vyatta-cfg-run index e0bcfaf..4e522b5 100644 --- a/functions/interpreter/vyatta-cfg-run +++ b/functions/interpreter/vyatta-cfg-run @@ -129,6 +129,7 @@ vyatta_config_commit () /opt/vyatta/sbin/my_commit "${args[@]}" 2>&1 unset COMMIT_VIA unset COMMIT_COMMENT + [[ -x ${vyatta_sbindir}/vclient ]] && sudo ${vyatta_sbindir}/vclient -l } vyatta_config_commit-confirm () |