]> code.ossystems Code Review - openembedded-core.git/commit
hwclock.sh: check for the existence of /etc/default/rcS
authorChen Qi <Qi.Chen@windriver.com>
Tue, 19 Feb 2013 07:59:40 +0000 (15:59 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Feb 2013 14:09:13 +0000 (06:09 -0800)
commit416519ec595f59ebeafb95bed2546635cad41559
tree01e9f217a694a02b41dac2cb1e56ec599ed7da1a
parentf8bf3c65327c6e04c19a7dda623c7433f5d97417
hwclock.sh: check for the existence of /etc/default/rcS

/etc/default/rcS might be missing if the init manager is not sysvinit.
So we have to check for the existence of this file before sourcing it.

[YOCTO #3697]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/busybox/files/hwclock.sh