View previous topic :: View next topic |
Author |
Message |
dasPaul Apprentice
Joined: 14 Feb 2012 Posts: 243 Location: Dresden
|
Posted: Fri Jun 22, 2012 10:00 am Post subject: Can I disable a service at grub boot commandline? |
|
|
Hi there
Is it possible to disable a rc service at grub boot commandline parameter? (for example "lm_sensors=no")
It would be very useful for me because I will run a LiveCD on different hardware an on one laptop lm_sensors is not able to detect the fans (known acer issue...) and so it will heat kill the laptop sooner or later. |
|
Back to top |
|
|
Aquous l33t
Joined: 08 Jan 2011 Posts: 700
|
Posted: Fri Jun 22, 2012 10:12 am Post subject: |
|
|
You could always hack the initscript...
Code: | if grep -q do_not_use_lm_sensors /proc/cmdline
then
echo "not starting lm_sensors"
eend 0
fi |
|
|
Back to top |
|
|
dasPaul Apprentice
Joined: 14 Feb 2012 Posts: 243 Location: Dresden
|
Posted: Sat Jun 23, 2012 3:38 pm Post subject: |
|
|
ok thanx, do you mean by that to edit the "/etc/init.d/lm_sensors"? |
|
Back to top |
|
|
|