diff options
| author | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:46:30 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:46:30 +0200 |
| commit | 9fda4b0552744a305a699855e2ad3907e8cab164 (patch) | |
| tree | fe188681a51e406a3811bb708c6d3df31cb3e5a8 /scripts/casper-helpers | |
| parent | beec4f9fb766be23d575b070e398639d5a4a9c9d (diff) | |
| download | live-boot-9fda4b0552744a305a699855e2ad3907e8cab164.tar.gz live-boot-9fda4b0552744a305a699855e2ad3907e8cab164.zip | |
Adding casper 1.81+debian-1.
Diffstat (limited to 'scripts/casper-helpers')
| -rw-r--r-- | scripts/casper-helpers | 8 |
1 files changed, 5 insertions, 3 deletions
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 |
