fix hwdetect output

This commit is contained in:
Tobias Powalowski 2010-02-08 15:42:32 +01:00
parent 6c2629e3c8
commit 915950b58e
2 changed files with 4 additions and 4 deletions

View file

@ -18,8 +18,8 @@ run_hook ()
msg "Blacklisted IDE modules (old subsystem) for udev:"
msg "--------------------------------------"
if [ -s /etc/modprobe.d/ide-blacklist.conf ]; then
for i in $(sort -u /etc/modprobe.d/ide-blacklist.conf); do
echo -n "$i " | sed -e 's/blacklist//g' -e 's/ / /g'
for i in $(sort -u /etc/modprobe.d/ide-blacklist.conf | sed -e 's/blacklist //g'); do
echo -n "$i "
done
msg ""
msg "If you need them, please use 'ide-legacy' boot option or load them by hand!"

View file

@ -18,8 +18,8 @@ run_hook ()
msg "Blacklisted IDE modules (old subsystem) for udev:"
msg "--------------------------------------"
if [ -s /etc/modprobe.d/ide-blacklist.conf ]; then
for i in $(sort -u /etc/modprobe.d/ide-blacklist.conf); do
echo -n "$i " | sed -e 's/blacklist//g' -e 's/ / /g'
for i in $(sort -u /etc/modprobe.d/ide-blacklist.conf | sed -e 's/blacklist //g'); do
echo -n "$i "
done
msg ""
msg "If you need them, please use 'ide-legacy' boot option or load them by hand!"