Vielen Dank! > denkbrett:~# start-stop-daemon --start --background --exec /tmp/meinskript
start-stop-deamon funktioniert nun :) Ich Nase hatte start-stop-daemon als nicht root starten wollen. Da lag es natürlich außer Reichweite. > Wobei es bei Deiner Frage wirklich hilfreicher wäre zu wissen, wie das > Skript in etwa aussieht. Aber das hat ja schon jemand geschrieben. Ich hatte dies bereits gepostet, komisch. Ist aber nicht in der Liste drin. Naja hier nochmal das Script : #!/bin/sh # july 2005 Erik Groeneveld, [EMAIL PROTECTED] # It makes sure the fan is on in case of errors # and only turns it off when all temps are ok. IBM_ACPI=/proc/acpi/ibm THERMOMETER=$IBM_ACPI/thermal FAN=$IBM_ACPI/fan MAXTRIPPOINT=62 MINTRIPPOINT=50 TRIPPOINT=$MINTRIPPOINT echo fancontrol: Thermometer: $THERMOMETER, Fan: $FAN echo fancontrol: Current `cat $THERMOMETER` echo fancontrol: Controlling temperatures between $MINTRIPPOINT and $MAXTRIPPOINT degrees. # Make sure the fan is turned on when the script crashes or is killed trap "echo enable > $FAN; exit 0" HUP KILL INT ABRT STOP QUIT SEGV TERM while [ 1 ]; do command=enable temperatures=`sed s/temperatures:// < $THERMOMETER` result= for temp in $temperatures do test $temp -le $TRIPPOINT && result=$result.Ok done if [ "$result" = ".Ok.Ok.Ok.Ok.Ok.Ok.Ok.Ok" ]; then command=disable TRIPPOINT=$MAXTRIPPOINT else command=enable TRIPPOINT=$MINTRIPPOINT fi echo $command > $FAN # Temperature ramps up quickly, so pick this not too large: sleep 5 done