diff options
Diffstat (limited to 'scripts/vyatta-boot-config-loader')
-rwxr-xr-x | scripts/vyatta-boot-config-loader | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/vyatta-boot-config-loader b/scripts/vyatta-boot-config-loader index d9c0903..f70d88c 100755 --- a/scripts/vyatta-boot-config-loader +++ b/scripts/vyatta-boot-config-loader @@ -48,11 +48,15 @@ umask 0002 # do commit trace '-- begin commit' ret=0 + echo $ret > /tmp/vyos-config-status + sync export COMMIT_VIA=boot-config-loader if ! do_commit ; then do_log err 'Commit failed at boot.' trace '-- commit failed' ret=1 + echo $ret > /tmp/vyos-config-status + sync else trace '-- commit succeeded' fi @@ -69,4 +73,3 @@ umask 0002 ) </dev/null >>$CLOG 2>&1 exit $? - |