aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-03-10 18:09:53 +0000
committerNicolas Thill <nico@openwrt.org>2010-03-10 18:09:53 +0000
commita13ab1369e0ef908ea15dbf26956df679fd63963 (patch)
treed58fc9a1d5f45b0d861d3947423132be96c24f37 /package
parenta650c84b0e5cfada8535861f8d218cf9d234799f (diff)
downloadupstream-a13ab1369e0ef908ea15dbf26956df679fd63963.tar.gz
upstream-a13ab1369e0ef908ea15dbf26956df679fd63963.tar.bz2
upstream-a13ab1369e0ef908ea15dbf26956df679fd63963.zip
[package] base-files: fix preinit code typos
Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl> Acked-by: Daniel Dickinson <cshore@csolve.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20124 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/etc/preinit2
-rw-r--r--package/base-files/files/lib/preinit/99_10_run_init2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit
index eff382af3d..56c02e4674 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 dab2fda0dc..fef3a503e2 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