diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-12-03 19:07:54 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-12-03 19:07:54 -0800 |
commit | ed95fe7775d63a777d86779debcd1fd59e2d921f (patch) | |
tree | 39f6c331b7811cae00e2930009404362e37afdc9 /etc/init.d | |
parent | 814ec6da0379583108fd2d46dc90811b24fba359 (diff) | |
download | vyatta-cfg-ed95fe7775d63a777d86779debcd1fd59e2d921f.tar.gz vyatta-cfg-ed95fe7775d63a777d86779debcd1fd59e2d921f.zip |
change boot-time config loading to use new implementation in backend.
* add new boot-time config loading script that uses shell API to access backend directly, bypassing wrapper.
* use new loadFile implementation in the backend to perform the actual "load" operation (without "commit"). this reduces the "pre-commit" load time by ~60%.
Diffstat (limited to 'etc/init.d')
-rwxr-xr-x | etc/init.d/vyatta-router | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/vyatta-router b/etc/init.d/vyatta-router index e7a5783..bccd7b7 100755 --- a/etc/init.d/vyatta-router +++ b/etc/init.d/vyatta-router @@ -121,7 +121,7 @@ load_bootfile () # build-specific environment for boot-time config loading source /etc/default/vyatta-load-boot fi - sg ${GROUP} -c "$vyatta_sbindir/vyatta-config-loader.pl $BOOTFILE" + sg ${GROUP} -c "$vyatta_sbindir/vyatta-boot-config-loader $BOOTFILE" ) } |