Commit b425b951 authored by Mike Hibler's avatar Mike Hibler

Linux: only blacklist modules if /etc/modeprobe.d directory exists.

Sigh...yet another change. This one is not critical, so I didn't remake
the MFSes yet again.
parent 97f731ec
......@@ -897,6 +897,7 @@ dolinux() {
#
# Blacklist the hp ilo stuff.
#
if [ -d "/mnt/etc/modprobe.d" ]; then
modules="hpilo hpwdt"
for mod in ${modules}; do
grep $mod /mnt/etc/modprobe.d/blacklist.conf >/dev/null 2>&1
......@@ -909,6 +910,7 @@ dolinux() {
;;
esac
done
fi
if [ -f /mnt/var/lib/random-seed -a -c /dev/urandom ]; then
echo " updating /var/lib/random-seed"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment