[Pkg-loop-aes-commits] r1335 - /trunk/loop-aes-utils/debian/initramfs-tools-script

xam at users.alioth.debian.org xam at users.alioth.debian.org
Sat Dec 2 18:32:30 CET 2006


Author: xam
Date: Sat Dec  2 18:32:30 2006
New Revision: 1335

URL: http://svn.debian.org/wsvn/pkg-loop-aes/?sc=1&rev=1335
Log:
initramfs: Fix loading of extra modules

Modified:
    trunk/loop-aes-utils/debian/initramfs-tools-script

Modified: trunk/loop-aes-utils/debian/initramfs-tools-script
URL: http://svn.debian.org/wsvn/pkg-loop-aes/trunk/loop-aes-utils/debian/initramfs-tools-script?rev=1335&op=diff
==============================================================================
--- trunk/loop-aes-utils/debian/initramfs-tools-script (original)
+++ trunk/loop-aes-utils/debian/initramfs-tools-script Sat Dec  2 18:32:30 2006
@@ -43,11 +43,11 @@
     esac
 }
 
-iterate_cipher_module() {
+modprobe_cipher_modules() {
     local cipher
     local IFS=":"
     for cipher in $2; do
-	$1 "loop_${cipher}"
+	modprobe -q "loop_${cipher}"
     done
 }
 
@@ -143,7 +143,7 @@
 fi
 
 modprobe -q loop
-iterate_cipher_module "modprobe -q" "$rootencryption"
+modprobe_cipher_modules "$rootencryption"
 while ! [ -b "${rootloop}" ]; do
       sleep 1
 done




More information about the Pkg-loop-aes-commits mailing list