add preinit modularization work by Daniel Dickinson (cshore)
[10.03/openwrt.git] / target / linux / ifxmips / nfs / base-files / lib / preinit / 01_init_nfs_ifxmips
1 #!/bin/sh
2
3
4 init_nfs() {
5         grep "/dev/root" /proc/mounts |grep -q nfs && {
6                 echo "- init nfs -"
7                 exec /sbin/init
8         }
9 }
10
11 boot_hook_add preinit_main init_nfs
12