projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ifxmips] preinit: use grep -q where applicable
[openwrt.git]
/
target
/
linux
/
ifxmips
/
nfs
/
base-files
/
lib
/
preinit
/
01_init_nfs_ifxmips
diff --git
a/target/linux/ifxmips/nfs/base-files/lib/preinit/01_init_nfs_ifxmips
b/target/linux/ifxmips/nfs/base-files/lib/preinit/01_init_nfs_ifxmips
index
e2cf52d
..
7008928
100644
(file)
--- a/
target/linux/ifxmips/nfs/base-files/lib/preinit/01_init_nfs_ifxmips
+++ b/
target/linux/ifxmips/nfs/base-files/lib/preinit/01_init_nfs_ifxmips
@@
-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
}
This page took
0.023769 seconds
and
4
git commands to generate.