Tiny Core Base > TCB Talk
laptop-mode
Roberto A. Foglietta:
in rcS (tc-config from v1.2) would be nice to have:
--- Code: ---if [ -n "$LAPTOP" ]; then
modprobe ac && modprobe battery
{
modprobe yenta_socket || modprobe i82365
/sbin/udevtrigger
/etc/init.d/laptop-mode start
} >/dev/null 2>&1 &
echo " ${GREEN}Laptop options enabled (AC,Battery, & PCMCIA).${NORMAL}"
fi
--- End code ---
instead of
--- Code: ---if [ -n "$LAPTOP" ]; then
modprobe ac && modprobe battery
modprobe yenta_socket >/dev/null 2>&1 || modprobe i82365 >/dev/null 2>&1
/sbin/udevtrigger 2>/dev/null >/dev/null &
echo " ${GREEN}Laptop options enabled (AC,Battery, & PCMCIA).${NORMAL}"
fi
--- End code ---
curaga:
There's no such file as /etc/init.d/laptop-mode? Also, not all laptop users want it as a default..
Roberto A. Foglietta:
--- Quote from: curaga on April 09, 2009, 04:46:36 PM ---There's no such file as /etc/init.d/laptop-mode? Also, not all laptop users want it as a default..
--- End quote ---
That file belong to cpufreq.tce/tcz. Those user which put option "laptop" into boot loader probably want something happens. If they do not want cpufreq/laptop-mode they should not install the related tce/tcz. As you can see the errors are redirected to dev null in such a way installing cpufreq is not necessary.
roberts:
I am seeing many of your mods to system files that depend on extensions.
Yet you do not include a warning or statement of such.
Without this anyone who tries your mods will not have a good experience.
Roberto A. Foglietta:
--- Quote from: roberts on April 09, 2009, 06:18:11 PM ---I am seeing many of your mods to system files that depend on extensions.
Yet you do not include a warning or statement of such.
Without this anyone who tries your mods will not have a good experience.
--- End quote ---
I will keep in mind your suggestion but in this case who install this mod and do not install cpufreq has the same experience of others who do not have installed any mods!
Navigation
[0] Message Index
[#] Next page
Go to full version