diff options
author | Bill Nottingham <notting@redhat.com> | 2007-09-25 20:05:56 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2007-09-25 20:05:56 +0000 |
commit | c2441712081015c57aabeca637eb230055a67ba3 (patch) | |
tree | ba24d2b6781e6f2f50c2abdc9e94b37b8b7293d8 /rc.d/init.d/network | |
parent | 884e68e6d5aea74a0878f4f04bd595be193b83ce (diff) | |
download | initscripts-c2441712081015c57aabeca637eb230055a67ba3.tar initscripts-c2441712081015c57aabeca637eb230055a67ba3.tar.gz initscripts-c2441712081015c57aabeca637eb230055a67ba3.tar.bz2 initscripts-c2441712081015c57aabeca637eb230055a67ba3.tar.xz initscripts-c2441712081015c57aabeca637eb230055a67ba3.zip |
more fixes (#220087)
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-x | rc.d/init.d/network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 86069164..60a0a8dd 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -171,7 +171,7 @@ case "$1" in rootfs=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $3; }}' /etc/mtab) rootopts=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $4; }}' /etc/mtab) - if [[ "$rootfs" =~ "^nfs" ]] || [[ "$rootopts" =~ "_netdev" ]] ; then + if [[ "$rootfs" =~ ^nfs ]] || [[ "$rootopts" =~ "_netdev" ]] ; then exit 1 fi |