#!/usr/bin/python
-
+#
# Copyright (c) 2003 Intel Corporation
# All rights reserved.
#
# if the network modules are activated in a different order that the
# boot cd.
+ log.write( "\n\nStep: WriteModProbeConfig.\n" )
+
# make sure we have this class loaded
try:
m.input(mfile)
blacklist = modprobe.Modprobe()
- blacklistfiles = ("blacklist","blacklist-compat","blacklist-firewire")
+ blacklistfiles = os.listdir("/etc/modprobe.d")
for blf in blacklistfiles:
if os.path.exists("/etc/modprobe.d/%s"%blf):
blacklist.input("/etc/modprobe.d/%s"%blf)
if eth_count == 0:
log.write( "\nIt appears we don't have any network drivers. Aborting.\n" )
- vars['BOOT_STATE']= 'failboot'
+ vars['RUN_LEVEL']= 'failboot'
vars['STATE_CHANGE_NOTIFY']= 1
vars['STATE_CHANGE_NOTIFY_MESSAGE']= \
notify_messages.MSG_NO_DETECTED_NETWORK