mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-19 06:54:58 +01:00
preinit: use grep -q where applicable
SVN-Revision: 19481
This commit is contained in:
parent
e0669e9cd3
commit
0f149688a6
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
init_nfs() {
|
||||
grep "/dev/root" /proc/mounts |grep -q nfs && {
|
||||
grep "/dev/root" /proc/mounts | grep -q nfs && {
|
||||
echo "- init nfs -"
|
||||
exec /sbin/init
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user