diff options
author | Tobias Powalowski <tpowa@archlinux.org> | 2006-08-11 11:25:15 +0200 |
---|---|---|
committer | Tobias Powalowski <tpowa@archlinux.org> | 2006-08-11 11:25:15 +0200 |
commit | 3c903b6f507c0570938f9a9c7ee6f0f619d03bd5 (patch) | |
tree | 7211f638aa3633da4bffbaf4972a0e9d5d53ac74 | |
parent | bda5ebb687bb96242120203f7b174d89cbd810d8 (diff) | |
download | mkinitcpio-3c903b6f507c0570938f9a9c7ee6f0f619d03bd5.tar.gz mkinitcpio-3c903b6f507c0570938f9a9c7ee6f0f619d03bd5.tar.xz |
'fixed blacklisting support'
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@159 880c04e9-e011-0410-abf7-b926e227c9cd
-rw-r--r-- | init | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -27,13 +27,15 @@ for cmd in $CMDLINE; do done if [ "x${disablehooks}" != "x" ]; then - for d in $(replace -q ${disablehooks} ','); do + k="$(replace -q "${disablehooks}" '-' '_')" + for d in $(replace "${k}" ','); do export "hook_${d}=disabled" done fi if [ "x${disablemodules}" != "x" ]; then - for d in $(replace -q ${disablemodules} ','); do + k="$(replace "${disablemodules}" '-' '_')" + for d in $(replace "${k}" ','); do export "mod_${d}=disabled" done fi |