summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Davidson <james.davidson@vyatta.com>2012-08-22 16:03:00 -0700
committerJames Davidson <james.davidson@vyatta.com>2012-08-22 16:03:19 -0700
commite4630e3becc32a9a0f4fff85511f02691b07ae21 (patch)
tree396d8c1671af3ddd97771dfe98d30aa0e38e1aeb
parentd103be9092a21604f709e6014ec9c4e4a79c6d54 (diff)
downloadvyatta-cfg-e4630e3becc32a9a0f4fff85511f02691b07ae21.tar.gz
vyatta-cfg-e4630e3becc32a9a0f4fff85511f02691b07ae21.zip
If vclient exists, run it
-rw-r--r--functions/interpreter/vyatta-cfg-run1
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 ()