X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fcasper-helpers;h=8402d93e5c35cb561f5074a73dedf5ca6f092825;hb=9fda4b0552744a305a699855e2ad3907e8cab164;hp=f8bd206bf971ecbf6bdd45ed95174071e8eedfc6;hpb=beec4f9fb766be23d575b070e398639d5a4a9c9d;p=live-boot-grml.git diff --git a/scripts/casper-helpers b/scripts/casper-helpers index f8bd206..8402d93 100644 --- a/scripts/casper-helpers +++ b/scripts/casper-helpers @@ -1,9 +1,11 @@ ## Casper helper functions, used by casper on boot and by casper-snapshot -if [ "${BUILD_SYSTEM}" == "Ubuntu" ]; then +if [ "${BUILD_SYSTEM}" = "Ubuntu" ]; then MP_QUIET="-Q" -else +elif [ "${BUILD_SYSTEM}" = "Debian" ]; then MP_QUIET="-q" +else + MP_QUIET="" fi if [ ! -x "/bin/fstype" ]; then @@ -112,7 +114,7 @@ setup_loop() { local pattern=$3 local offset=$4 - modprobe "${MP_QUIET}" -b "$module" + modprobe ${MP_QUIET} -b "$module" udevsettle for loopdev in $pattern; do