summaryrefslogtreecommitdiff
path: root/etc/init.d
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-12-03 19:07:54 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2010-12-03 19:07:54 -0800
commited95fe7775d63a777d86779debcd1fd59e2d921f (patch)
tree39f6c331b7811cae00e2930009404362e37afdc9 /etc/init.d
parent814ec6da0379583108fd2d46dc90811b24fba359 (diff)
downloadvyatta-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-xetc/init.d/vyatta-router2
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"
)
}