svc

Simple service scripts and examples, to be used everywhere.
git clone git://r-36.net/svc
Log | Files | Refs | README | LICENSE

sensors (170B)


      1 #!/bin/sh
      2 
      3 . /bin/svc.d/default/sensors
      4 
      5 case $1 in
      6 	-s)
      7 		for m in $HWMON_MODULES;
      8 		do
      9 			modprobe $m
     10 		done
     11 		;;
     12 	-k)
     13 		;;
     14 	*)
     15 		echo "usage: $0 -s|-k"
     16 		exit 1
     17 esac
     18