View Single Post
Posts: 68 | Thanked: 4 times | Joined on Feb 2010
#3189
Originally Posted by titan View Post
this should do it (warning: backup first! experimental!)
Code:
sudo gainroot
wget http://maemory.com/N900/tools/module-init-tools -O /etc/event.d/module-init-tools
echo bq27x00_battery >> /etc/modules
@Titan:
The above script works, it still displays the battery temperature after rebooted. However, I don't understand the last command. The /etc/modules which is a file name not a directory. Therefore, /etc/modules is a new name for bq27x00_battery.
Am I right? Should I create /etc/modules direcoty prior to echoing (bq27x00_battery >> /etc/modules)?
Please explain to me.
Thanks

Sorry, I found the answer after taking a closer look at /etc/modules. >> is an appended to the modules, and it tells which module to be started at the boot time.
Thanks

Last edited by psrkn; 2010-04-20 at 18:44.