aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-03-03 10:37:54 -0500
committerBill Nottingham <notting@redhat.com>2008-03-03 10:37:54 -0500
commitf9aae940a735d963c8f0e1b02be0866f0746e4c8 (patch)
treec4c271e3fddc7e4dd3c177b3abf6da5dd062b022 /rc.d/init.d
parent870f6950bfade119657658e9cf271fb599f33b91 (diff)
downloadinitscripts-f9aae940a735d963c8f0e1b02be0866f0746e4c8.tar
initscripts-f9aae940a735d963c8f0e1b02be0866f0746e4c8.tar.gz
initscripts-f9aae940a735d963c8f0e1b02be0866f0746e4c8.tar.bz2
initscripts-f9aae940a735d963c8f0e1b02be0866f0746e4c8.tar.xz
initscripts-f9aae940a735d963c8f0e1b02be0866f0746e4c8.zip
- also skip network shutdown if there is a '_rnetdev' root device (part of #435358, <pjones@redhat.com>)
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index c49928c2..9efb67bc 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -174,7 +174,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