From 42bfd7b6dc6d1ebc49c1c6b24e21772df4f6967b Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 19 Feb 2008 14:29:20 +0000 Subject: Move the shell code to check for RC_SYS to the keywords dependency. --- init.d.Linux/clock | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'init.d.Linux/clock') 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 -- cgit v1.2.3