From ed95fe7775d63a777d86779debcd1fd59e2d921f Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Fri, 3 Dec 2010 19:07:54 -0800 Subject: 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%. --- etc/init.d/vyatta-router | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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" ) } -- cgit v1.2.3