Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can I disable a service at grub boot commandline?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dasPaul
Apprentice
Apprentice


Joined: 14 Feb 2012
Posts: 243
Location: Dresden

PostPosted: Fri Jun 22, 2012 10:00 am    Post subject: Can I disable a service at grub boot commandline? Reply with quote

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
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Fri Jun 22, 2012 10:12 am    Post subject: Reply with quote

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
View user's profile Send private message
dasPaul
Apprentice
Apprentice


Joined: 14 Feb 2012
Posts: 243
Location: Dresden

PostPosted: Sat Jun 23, 2012 3:38 pm    Post subject: Reply with quote

ok thanx, do you mean by that to edit the "/etc/init.d/lm_sensors"?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum