add new config option for the hostname in /etc/config/system (fixes #1302, #1438)
[openwrt.git] / package / base-files / files / etc / preinit
index 74d4e88..c60a0f8 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/sh
 # Copyright (C) 2006 OpenWrt.org
 export PATH=/bin:/sbin:/usr/bin:/usr/sbin
-mount_root
+[ -e /etc/preinit.arch ] && . /etc/preinit.arch
+mount_root ${FAILSAFE:+failsafe}
 exec /sbin/init
This page took 0.018313 seconds and 4 git commands to generate.