diff options
author | Bill Nottingham <notting@redhat.com> | 2009-09-02 14:06:32 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2009-09-02 14:06:32 -0400 |
commit | 7accf38c3bc38bc2664f9549910c7d365d5de303 (patch) | |
tree | d4ce462a47ce19a1d8da9f43761b28b8eb02f36b /udev/rules.d/88-clock.rules | |
parent | f1e3b00216c354c9bce703d67334bfcef4bb153a (diff) | |
download | initscripts-7accf38c3bc38bc2664f9549910c7d365d5de303.tar initscripts-7accf38c3bc38bc2664f9549910c7d365d5de303.tar.gz initscripts-7accf38c3bc38bc2664f9549910c7d365d5de303.tar.bz2 initscripts-7accf38c3bc38bc2664f9549910c7d365d5de303.tar.xz initscripts-7accf38c3bc38bc2664f9549910c7d365d5de303.zip |
Use --systz instead of --hctosys. (#517886, #489494)
Also, require a new enough kernel that sets the clock, and a new enough
util-linux that implements --systz.
Diffstat (limited to 'udev/rules.d/88-clock.rules')
-rw-r--r-- | udev/rules.d/88-clock.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/rules.d/88-clock.rules b/udev/rules.d/88-clock.rules index 4b574163..831c7ac5 100644 --- a/udev/rules.d/88-clock.rules +++ b/udev/rules.d/88-clock.rules @@ -1,2 +1,2 @@ -ACTION=="add", SUBSYSTEM=="rtc", RUN+="/sbin/hwclock --hctosys --rtc=/dev/%k" -ACTION=="add", ENV{MAJOR}=="10", ENV{MINOR}=="135", RUN+="/sbin/hwclock --hctosys --rtc=/dev/%k" +ACTION=="add", SUBSYSTEM=="rtc", RUN+="/sbin/hwclock --systz --rtc=/dev/%k" +ACTION=="add", ENV{MAJOR}=="10", ENV{MINOR}=="135", RUN+="/sbin/hwclock --systz --rtc=/dev/%k" |