projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Releasing debian version 5.0~a3-1.
[live-boot-grml.git]
/
components
/
3020-swap
diff --git
a/components/3020-swap
b/components/3020-swap
index
a1bcdbe
..
345b9a0
100755
(executable)
--- a/
components/3020-swap
+++ b/
components/3020-swap
@@
-48,15
+48,15
@@
Swap ()
done
# Remove all auto swap entries
done
# Remove all auto swap entries
- if grep -qs "swap swap" /root/etc/fstab
.d/swap
+ if grep -qs "swap swap" /root/etc/fstab
then
then
- grep -v "swap swap" /root/etc/fstab
.d/swap > /root/etc/fstab.d/swap
.tmp
- mv /root/etc/fstab.
d/swap.tmp /root/etc/fstab.d/swap
+ grep -v "swap swap" /root/etc/fstab
> /root/etc/fstab
.tmp
+ mv /root/etc/fstab.
tmp /root/etc/fstab
fi
# Add new swap entries
for _DEVICE in ${_SWAP_DEVICES}
do
fi
# Add new swap entries
for _DEVICE in ${_SWAP_DEVICES}
do
- echo "${_DEVICE} swap swap defaults 0 0" >> /root/etc/fstab
.d/swap
+ echo "${_DEVICE} swap swap defaults 0 0" >> /root/etc/fstab
done
}
done
}