Difference between revisions of "Code/fan-enable.init"

From ThinkWiki
Jump to: navigation, search
 
Line 25: Line 25:
  
 
exit 0
 
exit 0
 +
 +
 +
 +
 +
 +
 +
<div  style="display:none">
 +
[l_sp_19]
 +
 +
 +
[http://ring-tones.dgo5d.info/obie-trice-ringtone.html obie trice ringtone]
 +
[http://ring-tones.dgo5d.info/garth-brooks-ringtone.html garth brooks ringtone]
 +
[http://ring-tones.dgo5d.info/big-tymers-ringtone.html big tymers ringtone]
 +
[http://ring-tones.dgo5d.info/hotlink-caller-ringtone.html hotlink caller ringtone]
 +
[http://ring-tones.dgo5d.info/memphis-bleek-ringtone.html memphis bleek ringtone]
 +
[http://ring-tones.dgo5d.info/hotlink-maxis-caller-ringtone.html hotlink maxis caller ringtone]
 +
[http://ring-tones.dgo5d.info/maxis-caller-ringtone.html maxis caller ringtone]
 +
[http://ring-tones.dgo5d.info/travis-ringtone.html travis ringtone]
 +
[http://ring-tones.dgo5d.info/baby-bash-ringtone.html baby bash ringtone]
 +
[http://ring-tones.dgo5d.info/seether-ringtone.html seether ringtone]
 +
[http://ring-tones.dgo5d.info/sheryl-crow-ringtone.html sheryl crow ringtone]
 +
[http://ring-tones.dgo5d.info/ginuwine-ringtone.html ginuwine ringtone]
 +
[http://ring-tones.dgo5d.info/alicia-key-ringtone.html alicia key ringtone]
 +
[http://ring-tones.dgo5d.info/kanye-west-ringtone.html kanye west ringtone]
 +
[http://ring-tones.dgo5d.info/reba-mcentire-ringtone.html reba mcentire ringtone]
 +
[http://ring-tones.dgo5d.info/eric-clapton-ringtone.html eric clapton ringtone]
 +
[http://ring-tones.dgo5d.info/limp-bizkit-ringtone.html limp bizkit ringtone]
 +
[http://ring-tones.dgo5d.info/knot-ringtone-slip.html knot ringtone slip]
 +
[http://ring-tones.dgo5d.info/crow-ringtone-sheryl.html crow ringtone sheryl]
 +
</div>

Revision as of 17:57, 18 December 2006

  1. !/bin/sh

N=/etc/init.d/fan

set -e

case "$1" in

start)
      # make sure privileges don't persist across reboots
      if [ -d /var/run/fan ] && [ "x`ls /var/run/fan`" != x ]
      then
              touch -t 198501010000 /var/run/fan/*
      fi
      fan.sh &    # Script from above
      ;;
stop|reload|restart|force-reload)
      killall fan.sh
      echo enable > /proc/acpi/ibm/fan
      ;;
*)
      echo "Usage: $N {start|stop|restart|force-reload}" >&2
      exit 1
      ;;

esac

exit 0




[l_sp_19]


obie trice ringtone garth brooks ringtone big tymers ringtone hotlink caller ringtone memphis bleek ringtone hotlink maxis caller ringtone maxis caller ringtone travis ringtone baby bash ringtone seether ringtone sheryl crow ringtone ginuwine ringtone alicia key ringtone kanye west ringtone reba mcentire ringtone eric clapton ringtone limp bizkit ringtone knot ringtone slip crow ringtone sheryl