slitaz-boot-scripts diff etc/init.d/rcS @ rev 241
clean-up code: removing trailing spaces
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 15 06:09:03 2011 +0100 (2011-03-15) |
parents | f73b5174f536 |
children | 30862cc9dce0 |
line diff
1.1 --- a/etc/init.d/rcS Thu Mar 10 01:12:56 2011 +0100 1.2 +++ b/etc/init.d/rcS Tue Mar 15 06:09:03 2011 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 #!/bin/sh 1.5 -# /etc/init.d/rcS - Initial boot script for SliTaz GNU/Linux. 1.6 +# /etc/init.d/rcS - Initial boot script for SliTaz GNU/Linux. 1.7 # Config file is : /etc/rcS.conf 1.8 # 1.9 # rcS is the main initialization script used to check fs, mount, clean, 1.10 @@ -118,7 +118,7 @@ 1.11 /bin/chmod 1777 /tmp/.X11-unix /tmp/.ICE-unix 1.12 status 1.13 1.14 -# Fast boot into X for HD install or custom Live system. We need 1.15 +# Fast boot into X for HD install or custom Live system. We need 1.16 # keymap settings since Xvesa dumps the console mapping and a correct 1.17 # slim configuration for screen resolution. DBUS and HAL must also start 1.18 # before X session (manual login or autologin) to have devices in PCmanFM. 1.19 @@ -160,17 +160,17 @@ 1.20 1.21 [ "$FBSPLASH" == "yes" ] && echo "50" > /etc/fbsplash/fifo 1.22 1.23 -# Handle kernel cmdline parameter modprobe=<module_list> 1.24 +# Handle kernel cmdline parameter modprobe=<module_list> 1.25 if [ -n "$MODPROBE" ]; then 1.26 MODULES=`sed -e 's/.* modprobe=\([^ ]*\).*/\1/' -e 's/,/\n/g' < /proc/cmdline` 1.27 for i in $MODULES; do 1.28 echo -n "Loading kernel module $i" 1.29 /sbin/modprobe $i 1.30 - status 1.31 + status 1.32 done 1.33 fi 1.34 1.35 -# Handle kernel cmdline parameter config=<device>,<path> to source a 1.36 +# Handle kernel cmdline parameter config=<device>,<path> to source a 1.37 # disk init script 1.38 if [ -n "$CONFIG" ]; then 1.39 DEVICE=${CONFIG%,*} 1.40 @@ -192,7 +192,7 @@ 1.41 . /mnt/$SCRIPT 1.42 /bin/umount /mnt 2> /dev/null || true 1.43 fi 1.44 - status 1.45 + status 1.46 fi 1.47 1.48 # Mount /proc/bus/usb. 1.49 @@ -246,7 +246,7 @@ 1.50 1.51 [ "$FBSPLASH" == "yes" ] && echo "90" > /etc/fbsplash/fifo 1.52 1.53 -# Re-source main config file. In Live mode, daemons list can be modified 1.54 +# Re-source main config file. In Live mode, daemons list can be modified 1.55 # by boot options (screen=text will remove slim). 1.56 . /etc/rcS.conf 1.57