slitaz-boot-scripts rev 133

Add battery applets for laptop
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 16 17:50:01 2009 +0000 (2009-02-16)
parents deb719ede74f
children 5d620cd96aee
files etc/init.d/hwconf.sh
line diff
     1.1 --- a/etc/init.d/hwconf.sh	Mon Feb 16 17:26:41 2009 +0000
     1.2 +++ b/etc/init.d/hwconf.sh	Mon Feb 16 17:50:01 2009 +0000
     1.3 @@ -34,6 +34,8 @@
     1.4  		detect="$detect ac battery"
     1.5  		modprobe ac
     1.6  		modprobe battery
     1.7 +		sed -i 's/= cpu/= batt\n}\n\nPlugin {\n    type = cpu/' \
     1.8 +			/etc/lxpanel/default/panels/panel 2> /dev/null
     1.9  	fi
    1.10  	echo "$detect" > /var/lib/detected-modules
    1.11  	# Now add modules to rcS.conf