[ifxmips] preinit: use grep -q where applicable
[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
This page took 0.054514 seconds and 5 git commands to generate.