diff options
author | Thomas Canniot <thomas.canniot@mrtomlinux.org> | 2008-03-06 16:46:45 +0000 |
---|---|---|
committer | Thomas Canniot <thomas.canniot@mrtomlinux.org> | 2008-03-06 16:46:45 +0000 |
commit | 31b09aa4ede151e56c9bf80dcaa6cdc8980d577e (patch) | |
tree | c51c0908af13bdbe2f5c4ce468d338919fd9b077 | |
parent | 73923d6d9c1fa49f33f3e60d5e33d824d5ccc720 (diff) | |
parent | 49cc2adc8a17864266414b21e8687463b854dd66 (diff) | |
download | initscripts-31b09aa4ede151e56c9bf80dcaa6cdc8980d577e.tar initscripts-31b09aa4ede151e56c9bf80dcaa6cdc8980d577e.tar.gz initscripts-31b09aa4ede151e56c9bf80dcaa6cdc8980d577e.tar.bz2 initscripts-31b09aa4ede151e56c9bf80dcaa6cdc8980d577e.tar.xz initscripts-31b09aa4ede151e56c9bf80dcaa6cdc8980d577e.zip |
Merge branch 'master' of ssh://git.fedorahosted.org/git/initscripts
-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 60a0a8dd..78370f9e 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|_rnetdev" ]] ; then exit 1 fi |