projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding live-initramfs 1.87.1-1.
[live-boot-grml.git]
/
scripts
/
casper-bottom
/
13swap
diff --git
a/scripts/casper-bottom/13swap
b/scripts/casper-bottom/13swap
index
986b079
..
9c5d0c9
100755
(executable)
--- 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
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"
if [ "$magic" = "SWAPSPACE2" -o "$magic" = "SWAP-SPACE" ]; then
# log "Found $device"