diff options
author | Martin Dietze <martin@the-little-red-haired-girl.org> | 2009-05-23 13:28:58 +0200 |
---|---|---|
committer | md <md@freiheit.com> | 2009-05-27 21:51:01 +0200 |
commit | cb901464380fb0d06133f1c644d20653ad74c90f (patch) | |
tree | 51af94ab781a6a457b265eb1594258b9f14c3557 /recipes | |
parent | 3e90499e213b47ad7ac4541843c31f23425433ca (diff) |
initscripts: fixed bootmisc.sh so that hwclock.sh is only called if installed
Diffstat (limited to 'recipes')
-rwxr-xr-x | recipes/initscripts/initscripts-1.0/bootmisc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/initscripts/initscripts-1.0/bootmisc.sh b/recipes/initscripts/initscripts-1.0/bootmisc.sh index dde1209be5..d19477be87 100755 --- a/recipes/initscripts/initscripts-1.0/bootmisc.sh +++ b/recipes/initscripts/initscripts-1.0/bootmisc.sh @@ -66,7 +66,7 @@ fi # Set the system clock from hardware clock # If the timestamp is 1 day or more recent than the current time, # use the timestamp instead. -/etc/init.d/hwclock.sh start +test -x /etc/init.d/hwclock.sh && /etc/init.d/hwclock.sh start if test -e /etc/timestamp then SYSTEMDATE=`date "+%Y%m%d"` |