svc

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

hwclock (143B)


      1 #!/bin/sh
      2 
      3 . /bin/svc.d/default/hwclock
      4 
      5 case $1 in
      6 	-s)
      7 		;;
      8 	-k)
      9 		hwclock --adjust $PARAMS
     10 		;;
     11 	*)
     12 		echo "usage: $0 -s|-k"
     13 		exit 1
     14 esac
     15