[arch-projects] [INITSCRIPTS][PATCH 2/4] Remove double case in hwclock daemon
Sebastien Luttringer
seblu at seblu.net
Tue Aug 23 05:05:54 EDT 2011
Signed-off-by: Sebastien Luttringer <seblu at seblu.net>
---
hwclock | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/hwclock b/hwclock
index 5996b95..9c05843 100755
--- a/hwclock
+++ b/hwclock
@@ -13,11 +13,7 @@ case "$1" in
start)
add_daemon hwclock;;
stop)
- case $HARDWARECLOCK in
- UTC) hwclock --adjust --utc;;
- localtime) hwclock --adjust --localtime;;
- "") hwclock --adjust;;
- esac
+ hwclock --adjust $HWCLOCK_PARAMS
rm_daemon hwclock
;;
restart)
--
Sebastien "Seblu" Luttringer
More information about the arch-projects
mailing list