3 Search for available swap space, automatically.
5 --- system.orig 2006-09-11 11:20:57.000000000 +0200
6 +++ system 2006-09-11 11:22:04.000000000 +0200
9 title "Activating swap devices."
11 + for x in /dev/{hd,sd}??*; do
12 + [ -e $x ] || continue
13 + if disktype $x | grep -q Swap &&
14 + ! grep -q $x /proc/swaps; then
15 + echo "Discovered swap space on $x, activating."
21 title "Refresh utmp, delete lock and tmp files and other stuff."