diff options
author | Tom Rini <tom_rini@mentor.com> | 2010-08-20 13:12:18 -0700 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2010-08-20 13:13:28 -0700 |
commit | 2f40e35f343526e19f319795a23ef6663047adf7 (patch) | |
tree | 7b10903abb7f71a78135b0fcb142c15c87b834c6 /recipes/busybox/files | |
parent | 57a1c3a667fd354a5bd8fd0c915919dbcac4289d (diff) | |
download | openembedded-2f40e35f343526e19f319795a23ef6663047adf7.tar.gz |
busybox: Add and check /etc/default/hwclock for hwclock initscript
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/busybox/files')
-rw-r--r-- | recipes/busybox/files/hwclock-default | 2 | ||||
-rw-r--r-- | recipes/busybox/files/hwclock.sh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/recipes/busybox/files/hwclock-default b/recipes/busybox/files/hwclock-default new file mode 100644 index 0000000000..09ba56f655 --- /dev/null +++ b/recipes/busybox/files/hwclock-default @@ -0,0 +1,2 @@ +# Can we use hwclock on this system? +HWCLOCKACCESS=yes diff --git a/recipes/busybox/files/hwclock.sh b/recipes/busybox/files/hwclock.sh index f9c9f9f2c2..71538fb9dc 100644 --- a/recipes/busybox/files/hwclock.sh +++ b/recipes/busybox/files/hwclock.sh @@ -14,6 +14,8 @@ . /etc/default/rcS +. /etc/default/hwclock + [ "$UTC" = yes ] && UTC=-u || UTC=-l case "$1" in |