add jffs2_mark_erase function for erasing jffs2 partitions on the next mount (typical...
[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.024088 seconds and 4 git commands to generate.