X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1ebe6d34880d1e26b37fe4f794b5039a8245e750..7e450a1c869a5b227e3c91c4e71049059f1193e6:/package/base-files/files/etc/preinit diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit index 74d4e8889..c60a0f850 100755 --- a/package/base-files/files/etc/preinit +++ b/package/base-files/files/etc/preinit @@ -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