projects
/
openwrt-10.03
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e2cf52dc4e7304eb269e8aef333504ee55d6d6a3
[openwrt-10.03/.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