cvs commit: LFS/bootscripts/lfs/init.d swap

winkie at linuxfromscratch.org winkie at linuxfromscratch.org
Wed May 12 14:07:22 PDT 2004


winkie      04/05/12 15:07:22

  Modified:    bootscripts/lfs/init.d swap
  Log:
  Backed out changes to swap (whoops)
  
  Revision  Changes    Path
  1.3       +0 -16     LFS/bootscripts/lfs/init.d/swap
  
  Index: swap
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/lfs/init.d/swap,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- swap	12 May 2004 20:59:53 -0000	1.2
  +++ swap	12 May 2004 21:07:22 -0000	1.3
  @@ -6,22 +6,6 @@
   . /etc/sysconfig/rc
   . $rc_functions
   
  -# Parse fstab.
  -exec 9>&0 < /etc/fstab
  -	while read fs mnt type opts dump pass junk; do
  -		# Ignore comments and blank lines.
  -		case "$fs" in
  -			""|\#*) continue ;;
  -		esac
  -
  -		# Set do_swap if there is swap found.
  -		[ "$type" = swap ] && do_swap=yes
  -	done
  -exec 0>&9 9>&-
  -
  -# If there's no swap found, exit.
  -[ "$do_swap" ] || exit 0
  -
   case "$1" in
   	start)
   		echo "Activating all swap files/partitions..."
  
  
  



More information about the lfs-book mailing list