openwrt-owl/target/linux/ifxmips/nfs/base-files/etc/preinit.arch

6 lines
89 B
Plaintext
Executable File

grep "/dev/root" /proc/mounts |grep -q nfs && {
echo "- init nfs -"
exec /sbin/init
}