From a1db51bb9b06d4e625ea6a27c0aa07aa328ea4a3 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 10 Mar 2010 18:09:53 +0000 Subject: [PATCH] [package] base-files: fix preinit code typos Signed-off-by: Ithamar R. Adema Acked-by: Daniel Dickinson git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20124 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/preinit | 2 +- package/base-files/files/lib/preinit/99_10_run_init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit index eff382af3..56c02e467 100755 --- a/package/base-files/files/etc/preinit +++ b/package/base-files/files/etc/preinit @@ -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 diff --git a/package/base-files/files/lib/preinit/99_10_run_init b/package/base-files/files/lib/preinit/99_10_run_init index dab2fda0d..fef3a503e 100644 --- a/package/base-files/files/lib/preinit/99_10_run_init +++ b/package/base-files/files/lib/preinit/99_10_run_init @@ -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