ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/addpart.sh
sparky
cvs at pld-linux.org
Sun Jul 16 03:56:39 CEST 2006
Author: sparky
Date: Sun Jul 16 03:56:36 2006
New Revision: 7531
Modified:
ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/addpart.sh
Log:
- swapon if detected by udev
Modified: ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/addpart.sh
==============================================================================
--- ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/addpart.sh (original)
+++ ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/addpart.sh Sun Jul 16 03:56:36 2006
@@ -7,6 +7,7 @@
if [[ -e /tmp/swapon ]]; then
echo "$DEVNAME swap swap defaults 0 0" >> /etc/fstab
verbose 4 "type: swap (activating)"
+ swapon $DEVNAME
else
echo "#$DEVNAME swap swap defaults 0 0" >> /etc/fstab
verbose 4 "type: swap (not activating)"
More information about the pld-cvs-commit
mailing list