diff options
author | maximilian attems <maks@debian.org> | 2008-12-18 00:40:36 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2008-12-18 00:45:28 +0100 |
commit | b11f308d10ff9de4bb2a8fef44e1ec98d5e950e7 (patch) | |
tree | bf9c82ad51d315707791b9cb3826ba073af03c51 /scripts | |
parent | a776485a1cd51b2541877537471e4809889609ef (diff) | |
download | initramfs-tools-b11f308d10ff9de4bb2a8fef44e1ec98d5e950e7.tar.gz initramfs-tools-b11f308d10ff9de4bb2a8fef44e1ec98d5e950e7.zip |
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')
-rwxr-xr-x | scripts/init-top/all_generic_ide | 5 |
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 |