aboutsummaryrefslogtreecommitdiff
path: root/init.d.Linux/clock
diff options
context:
space:
mode:
Diffstat (limited to 'init.d.Linux/clock')
-rwxr-xr-xinit.d.Linux/clock22
1 files changed, 9 insertions, 13 deletions
diff --git a/init.d.Linux/clock b/init.d.Linux/clock
index a6305e92..03e5b133 100755
--- a/init.d.Linux/clock
+++ b/init.d.Linux/clock
@@ -28,25 +28,21 @@ depend()
else
before *
fi
+ keywords nouml novps noxenu
}
setupopts()
{
- case "${RC_SYS}" in
- UML|VPS|XENU)
- utc="${RC_SYS}"
+ case "$(uname -m)" in
+ s390*)
+ utc="s390"
;;
*)
- case "$(uname -m)" in
- s390*)
- utc="s390"
- ;;
- *)
- if [ -e /proc/devices ] && grep -q " cobd$" /proc/devices; then
- utc="coLinux"
- fi
- ;;
- esac
+ if [ -e /proc/devices ] && \
+ grep -q " cobd$" /proc/devices
+ then
+ utc="coLinux"
+ fi
;;
esac