diff options
author | maximilian attems <maks@debian.org> | 2007-04-13 01:25:53 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2007-04-13 01:25:53 +0200 |
commit | 878b47192bc92fcfe78f34134a8aea70afc161f5 (patch) | |
tree | 77d0f89b0b71b9f2a078c3a6345fe5404dd5578e /init | |
parent | 976a23c3d0a4fb156f4e069ff2bbde7c3daa6927 (diff) | |
download | initramfs-tools-878b47192bc92fcfe78f34134a8aea70afc161f5.tar.gz initramfs-tools-878b47192bc92fcfe78f34134a8aea70afc161f5.zip |
Add support for a blacklist boot parameter.
disallows modules loading inside of the initramfs.
Diffstat (limited to 'init')
-rwxr-xr-x | init | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -50,6 +50,7 @@ export debug= export cryptopts=${CRYPTOPTS} export ROOTDELAY= export panic= +export blacklist= # Parse command line options for x in $(cat /proc/cmdline); do @@ -125,6 +126,9 @@ for x in $(cat /proc/cmdline); do break) break=premount ;; + blacklist=*) + blacklist=${x#blacklist=} + ;; esac done |