summaryrefslogtreecommitdiff
path: root/scripts/init-top
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2008-12-18 00:40:36 +0100
committermaximilian attems <maks@debian.org>2008-12-18 00:45:28 +0100
commitb11f308d10ff9de4bb2a8fef44e1ec98d5e950e7 (patch)
treebf9c82ad51d315707791b9cb3826ba073af03c51 /scripts/init-top
parenta776485a1cd51b2541877537471e4809889609ef (diff)
all_generic_ide: Also parse boolean bootoption
d-i uses to pass it with the value 1 Reported-by: Frans Pop <fjp@debian.org>
Diffstat (limited to 'scripts/init-top')
-rwxr-xr-xscripts/init-top/all_generic_ide5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/init-top/all_generic_ide b/scripts/init-top/all_generic_ide
index 28b519a..3274ee8 100755
--- a/scripts/init-top/all_generic_ide
+++ b/scripts/init-top/all_generic_ide
@@ -18,5 +18,10 @@ for x in $(cat /proc/cmdline); do
all_generic_ide)
modprobe ide-generic
;;
+ all_generic_ide=*)
+ if [ ${x#all_generic_ide=} ]; then
+ modprobe ide-generic
+ fi
+ ;;
esac
done