X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fcasper-bottom%2F13swap;h=9c5d0c93b9c91a4b9bf689727c6df305cdd6c169;hb=4bdaa2237c6ae923d1dd068e9024ebceca3f40d9;hp=986b07922352ed8f9e3f2c262ce4f39374da7f2b;hpb=c972c6eea545add125883eaaeea459551e54589c;p=live-boot-grml.git diff --git a/scripts/casper-bottom/13swap b/scripts/casper-bottom/13swap index 986b079..9c5d0c9 100755 --- a/scripts/casper-bottom/13swap +++ b/scripts/casper-bottom/13swap @@ -27,7 +27,7 @@ for device in /dev/[hs]d[a-z][0-9]*; do continue fi - magic=$(dd if="$device" bs=4086 skip=1 count=1 2>/dev/null | dd bs=10 count=1 2>/dev/null) || continue + magic=$(/bin/dd if="$device" bs=4086 skip=1 count=1 2>/dev/null | /bin/dd bs=10 count=1 2>/dev/null) || continue if [ "$magic" = "SWAPSPACE2" -o "$magic" = "SWAP-SPACE" ]; then # log "Found $device"