Signed-off-by: Sebastien Luttringer <[email protected]>
---
 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

Reply via email to