summaryrefslogtreecommitdiff
path: root/packages/busybox/files/hwclock.sh
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-01-09 20:12:41 +0100
committerMarcin Juszkiewicz <hrw@openembedded.org>2009-01-21 12:04:03 +0100
commit34aabfd099c35780f4a8917fda12380e30e61466 (patch)
tree25434bafab37cb9a86df32f0734030c0dee95de5 /packages/busybox/files/hwclock.sh
parent5e32ee3d4dd9b21c51461f4aec405e0f6fa1881d (diff)
busybox: use short options for hwclock - closes #4978
Both busybox as well as big version support the same short options but the busybox version may be build with getopt_long turned off.
Diffstat (limited to 'packages/busybox/files/hwclock.sh')
-rw-r--r--packages/busybox/files/hwclock.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/busybox/files/hwclock.sh b/packages/busybox/files/hwclock.sh
index aab5c054af..6c0af3422c 100644
--- a/packages/busybox/files/hwclock.sh
+++ b/packages/busybox/files/hwclock.sh
@@ -28,9 +28,9 @@ case "$1" in
then
if [ -z "$TZ" ]
then
- hwclock --hctosys $UTC
+ hwclock -s $UTC;# --hctosys
else
- TZ="$TZ" hwclock --hctosys $UTC
+ TZ="$TZ" hwclock -s $UTC;# --hctosys
fi
fi
@@ -53,7 +53,7 @@ case "$1" in
fi
if [ "$HWCLOCKACCESS" != no ]
then
- hwclock --systohc $UTC
+ hwclock -w $UTC;# --systohc
fi
if [ "$VERBOSE" != no ]
then
@@ -64,7 +64,7 @@ case "$1" in
show)
if [ "$HWCLOCKACCESS" != no ]
then
- hwclock --show $UTC
+ hwclock -r $UTC;# --show
fi
;;
*)