summaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/nfs/base-files/etc/preinit.arch
blob: 7ee8e3e346fdf5b07661be7248dd6a9e721403ad (plain)
1
2
3
4
5

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