diff options
Diffstat (limited to 'main/openrc/openrc-hwclock.patch')
-rw-r--r-- | main/openrc/openrc-hwclock.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/openrc/openrc-hwclock.patch b/main/openrc/openrc-hwclock.patch new file mode 100644 index 0000000000..593e9ba82f --- /dev/null +++ b/main/openrc/openrc-hwclock.patch @@ -0,0 +1,13 @@ +Index: hwclock.in +=================================================================== +--- a/init.d/hwclock.in (revision 1571) ++++ b/niit.d/hwclock.in (working copy) +@@ -118,7 +118,7 @@ + + if ! yesno $clock_adjfile; then + # Some implementations don't handle adjustments +- if LC_ALL=C hwclock --help | grep -q "\-\-noadjfile"; then ++ if LC_ALL=C hwclock --help 2>&1 | grep -q "\-\-noadjfile"; then + utc_cmd="$utc_cmd --noadjfile" + fi + fi |