From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 1/8] hwclock.sh: some more !getopt_long fixes
Date: Wed, 10 Feb 2010 21:12:53 +0100 [thread overview]
Message-ID: <1265832780-19939-2-git-send-email-rep.dot.nop@gmail.com> (raw)
In-Reply-To: <1265832780-19939-1-git-send-email-rep.dot.nop@gmail.com>
busybox' hwclock can be built without support for getopt_long.
Flags of the big hwclock are compatible with the busybox version.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
recipes/busybox/files/hwclock.sh | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/recipes/busybox/files/hwclock.sh b/recipes/busybox/files/hwclock.sh
index 6c0af34..f9c9f9f 100644
--- a/recipes/busybox/files/hwclock.sh
+++ b/recipes/busybox/files/hwclock.sh
@@ -14,7 +14,7 @@
. /etc/default/rcS
-[ "$UTC" = yes ] && UTC=--utc || UTC=--localtime
+[ "$UTC" = yes ] && UTC=-u || UTC=-l
case "$1" in
start)
@@ -28,9 +28,9 @@ case "$1" in
then
if [ -z "$TZ" ]
then
- hwclock -s $UTC;# --hctosys
+ hwclock -s $UTC
else
- TZ="$TZ" hwclock -s $UTC;# --hctosys
+ TZ="$TZ" hwclock -s $UTC
fi
fi
@@ -53,7 +53,7 @@ case "$1" in
fi
if [ "$HWCLOCKACCESS" != no ]
then
- hwclock -w $UTC;# --systohc
+ hwclock -w $UTC
fi
if [ "$VERBOSE" != no ]
then
@@ -64,7 +64,7 @@ case "$1" in
show)
if [ "$HWCLOCKACCESS" != no ]
then
- hwclock -r $UTC;# --show
+ hwclock -r $UTC
fi
;;
*)
--
1.6.5
next prev parent reply other threads:[~2010-02-10 20:13 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-10 20:12 [PATCH 0/8] minor trivia; [RFC] add xz Bernhard Reutner-Fischer
2010-02-10 20:12 ` Bernhard Reutner-Fischer [this message]
2010-02-10 20:12 ` [PATCH 2/8] autoconf: set SRC_URI name Bernhard Reutner-Fischer
2010-02-10 20:12 ` [PATCH 3/8] gmp: " Bernhard Reutner-Fischer
2010-02-10 20:12 ` [PATCH 4/8] handle xz compressed files and tarballs Bernhard Reutner-Fischer
2010-02-10 20:12 ` [PATCH 5/8] busybox: use .tar.bz2 Bernhard Reutner-Fischer
2010-02-10 20:12 ` [PATCH 6/8] busybox: remove orphaned patch checksums Bernhard Reutner-Fischer
2010-02-10 20:12 ` [PATCH 7/8] autoconf: add 2.65 Bernhard Reutner-Fischer
2010-02-10 20:13 ` [PATCH 8/8] xz: add xz package Bernhard Reutner-Fischer
2010-02-11 12:53 ` Phil Blundell
2010-02-13 12:51 ` Bernhard Reutner-Fischer
2010-02-13 13:19 ` Phil Blundell
2010-02-13 14:37 ` Bernhard Reutner-Fischer
2010-02-13 18:46 ` Phil Blundell
2010-02-13 16:14 ` BBCLASSEXTEND canadian? Bernhard Reutner-Fischer
2010-02-25 0:49 ` Tom Rini
2010-02-25 7:41 ` Bernhard Reutner-Fischer
2010-02-25 10:40 ` Richard Purdie
2010-02-25 10:39 ` Richard Purdie
2010-02-25 17:21 ` Tom Rini
2010-02-25 18:18 ` C Michael Sundius
2010-02-25 20:16 ` Richard Purdie
2010-05-28 8:37 ` Bernhard Reutner-Fischer
2010-06-01 18:41 ` Tom Rini
2010-02-11 14:06 ` [PATCH 8/8] xz: add xz package Koen Kooi
2010-02-13 12:55 ` Bernhard Reutner-Fischer
2010-02-13 13:11 ` Bernhard Reutner-Fischer
2010-03-04 14:32 ` [PATCH 7/8] autoconf: add 2.65 Marcin Juszkiewicz
2010-02-14 21:33 ` [PATCH 6/8] busybox: remove orphaned patch checksums Phil Blundell
2010-02-14 21:32 ` [PATCH 5/8] busybox: use .tar.bz2 Phil Blundell
2010-02-11 12:27 ` [PATCH 4/8] handle xz compressed files and tarballs Phil Blundell
2010-02-14 20:16 ` [PATCH 3/8] gmp: set SRC_URI name Phil Blundell
2010-02-14 21:35 ` [PATCH 2/8] autoconf: " Phil Blundell
2010-02-14 21:34 ` [PATCH 1/8] hwclock.sh: some more !getopt_long fixes Phil Blundell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1265832780-19939-2-git-send-email-rep.dot.nop@gmail.com \
--to=rep.dot.nop@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox