Made hostonly checking for fcoe fail for now.

Having it unconditionally pass pulls in all the networking cruft even
for systems that do not need it, and that sorta defeats the purpose of
hostonly mode.
master
Victor Lowther 2009-09-02 07:37:33 -05:00
parent 6568d86aec
commit 7c3fe07ac0
1 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@
[ "$1" = "-d" ] && echo network

# FIXME
# If hostonly was requested, fail the check if we are not actually
# booting from root.
#[ "$1" = "-h" ] && ! egrep -q '/ /dev/nbd[0-9]*' /proc/mounts && exit 1
# If hostonly was requested, fail the check until we have some way of
# knowing we are booting from FCoE
[ "$1" = "-h" ] && exit 1

exit 0