preinit: use grep -q where applicable
SVN-Revision: 19481
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
|
|
||||||
init_nfs() {
|
init_nfs() {
|
||||||
grep "/dev/root" /proc/mounts |grep -q nfs && {
|
grep "/dev/root" /proc/mounts | grep -q nfs && {
|
||||||
echo "- init nfs -"
|
echo "- init nfs -"
|
||||||
exec /sbin/init
|
exec /sbin/init
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user