# HG changeset patch # User Pascal Bellard # Date 1234806601 0 # Node ID 1dc47d7c92cca62cc659b0a0275ef4f470512a3e # Parent deb719ede74fe389f57bc0907b68bd6879215b70 Add battery applets for laptop diff -r deb719ede74f -r 1dc47d7c92cc etc/init.d/hwconf.sh --- a/etc/init.d/hwconf.sh Mon Feb 16 17:26:41 2009 +0000 +++ b/etc/init.d/hwconf.sh Mon Feb 16 17:50:01 2009 +0000 @@ -34,6 +34,8 @@ detect="$detect ac battery" modprobe ac modprobe battery + sed -i 's/= cpu/= batt\n}\n\nPlugin {\n type = cpu/' \ + /etc/lxpanel/default/panels/panel 2> /dev/null fi echo "$detect" > /var/lib/detected-modules # Now add modules to rcS.conf