slitaz-boot-scripts diff etc/init.d/bootopts.sh @ rev 171
Mount /proc first to parse /proc/cmdline... (rcS tiny clean)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 27 23:20:13 2009 +0200 (2009-04-27) |
parents | b779b19a1271 |
children | 16c27ed1f2c9 |
line diff
1.1 --- a/etc/init.d/bootopts.sh Sun Apr 26 17:23:17 2009 +0200 1.2 +++ b/etc/init.d/bootopts.sh Mon Apr 27 23:20:13 2009 +0200 1.3 @@ -139,7 +139,9 @@ 1.4 for mod in ac battery fan yenta_socket 1.5 do 1.6 modprobe $mod 1.7 - done ;; 1.8 + done 1.9 + # Enable Kernel Laptop mode. 1.10 + echo "5" > /proc/sys/vm/laptop_mode ;; 1.11 mount) 1.12 # Mount all ext3 partitions found (opt: mount). 1.13 # Get the list of partitions.