projects
/
hdw-linux
/
hdw-linux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
more toolchain + stage 1 updates
[hdw-linux/hdw-linux.git]
/
packages
/
base
/
util-linux
/
setclock_script
1
#!/bin/sh
2
#
3
# hdw - linux /etc/init.d/setclock
4
#
5
# low level clock/time stuff
6
#
7
8
. /etc/conf/setclock
9
10
case "$1"
11
in
12
start)
13
setsysclock
14
;;
15
stop)
16
sethwclock
17
;;
18
restart)
19
$0 stop ; $0 start ;;
20
*)
21
echo "Usage: $0 { start | restart | stop }" ; exit 1 ;;
22
esac
23
24
exit 0