From: Alan H. <al...@us...> - 2003-10-09 11:42:04
|
Update of /cvsroot/ipcop/ipcop/src/rc.d In directory sc8-pr-cvs1:/tmp/cvs-serv19678 Modified Files: Tag: IPCOP_v1 rc.sysinit Log Message: move the swap file turn on Index: rc.sysinit =================================================================== RCS file: /cvsroot/ipcop/ipcop/src/rc.d/Attic/rc.sysinit,v retrieving revision 1.2.2.42 retrieving revision 1.2.2.43 diff -C2 -d -r1.2.2.42 -r1.2.2.43 *** rc.sysinit 8 Oct 2003 14:27:59 -0000 1.2.2.42 --- rc.sysinit 9 Oct 2003 11:16:33 -0000 1.2.2.43 *************** *** 73,82 **** mount -f / - if [ -e /swapfile ]; then - echo "Mount swap file" - chmod 600 /swapfile - swapon /swapfile - fi - STRING="Checking other filesystems" fsck -R -T -a -C -A --- 73,76 ---- *************** *** 106,111 **** echo "Mounting other filesystems" mount -a ! echo "Turning on swap" ! swapon -a echo "Updating /etc/fstab to reflect removable devices" --- 100,109 ---- echo "Mounting other filesystems" mount -a ! ! if [ -e /swapfile ]; then ! echo "Turning on swap" ! chmod 600 /swapfile ! swapon /swapfile ! fi echo "Updating /etc/fstab to reflect removable devices" |