base-files: fix preinit code typos
authorNicolas Thill <nico@openwrt.org>
Wed, 10 Mar 2010 18:09:53 +0000 (18:09 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 10 Mar 2010 18:09:53 +0000 (18:09 +0000)
Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl>
Acked-by: Daniel Dickinson <cshore@csolve.net>
SVN-Revision: 20124

package/base-files/files/etc/preinit
package/base-files/files/lib/preinit/99_10_run_init

index eff382af3db19d3d6d17d98b6d34755f3a449aa7..56c02e4674c2a0d6180af6ccb3bef449f8ab3057 100755 (executable)
@@ -9,7 +9,7 @@ preinit_essential_hook=
 preinit_main_hook=
 failsafe_hook=
 initramfs_hook=
-preinit_mount_root=
+preinit_mount_root_hook=
 
 pi_ifname=
 pi_ip=192.168.1.1
index dab2fda0dc402666f2e0f7e355b1a7ed35362860..fef3a503e244090419882f63cd10e535467ec5db 100644 (file)
@@ -5,7 +5,7 @@
 run_init() {
     preinit_echo "- init -"
     preinit_ip_deconfig
-    if [ "$pi_init_stderr_suppress" = "y" ]; then
+    if [ "$pi_init_suppress_stderr" = "y" ]; then
        exec env - PATH=$pi_init_path $pi_init_env $pi_init_cmd 2>&0
     else
        exec env - PATH=$pi_init_path $pi_init_env $pi_init_cmd