summaryrefslogtreecommitdiff
path: root/scripts/casper-bottom/13swap
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:46:36 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:24:35 +0100
commit4bdaa2237c6ae923d1dd068e9024ebceca3f40d9 (patch)
tree5a563ee3109e324ae7002f0550ac9850254c1ecd /scripts/casper-bottom/13swap
parentc972c6eea545add125883eaaeea459551e54589c (diff)
downloadlive-boot-4bdaa2237c6ae923d1dd068e9024ebceca3f40d9.tar.gz
live-boot-4bdaa2237c6ae923d1dd068e9024ebceca3f40d9.zip
Adding live-initramfs 1.87.1-1.
Diffstat (limited to 'scripts/casper-bottom/13swap')
-rwxr-xr-xscripts/casper-bottom/13swap2
1 files changed, 1 insertions, 1 deletions
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"