On Mon, Dec 01, 2008 at 01:12:21PM +0200, Anton Vaaranmaa wrote: > Thank you very much for your advice. My scripting skills are very modest > to say at least, so I used the "RCFILE_01 = script" approach and in my > script I put the "hdparm -Y /dev/sda" command. I can target the > client(s)that need this by placing the RCFILE_01 variable under the > section for the individual client(s) in lts.conf. However when I tested > it I had no luck since the command did not get executed at all :-( When > I execute my script manually in a shell it works. I did remember to do > an "ltsp-update-image" after putting the script init /etc/init.d/.
what exactly is in RCFILE_01? you need to use the full path: RCFILE_01 = /FULL/PATH/TO/script i.e. if you placed it in /etc/init.d, then RCFILE_01 = /etc/init.d/script are other lts.conf values being respected? where is your lts.conf file? live well, vagrant ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net