Changeset b4816b1 in bootscripts-embedded for clfs/rc.d


Ignore:
Timestamp:
Oct 18, 2013, 8:53:54 AM (11 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
2255872
Parents:
47a846f
Message:

startup: Fix rtc detection

Real time clocks, especially if there's more than one, will enumerate
starting with /dev/rtc0. Check for any /dev/rtc* entries NOT /dev/rtc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • clfs/rc.d/startup

    r47a846f rb4816b1  
    2525check_status
    2626
    27 if [ -x /sbin/hwclock ] && [ -e /dev/rtc ]; then
     27if [ -x /sbin/hwclock ] && [ -e /dev/rtc* ]; then
    2828        echo -n "Setting system clock: "
    2929        hwclock --hctosys --utc
Note: See TracChangeset for help on using the changeset viewer.