Artix Linux Forum

Init systems => OpenRC => Topic started by: n3os on 24 September 2022, 08:52:29

Title: Hwclock grep warning
Post by: n3os on 24 September 2022, 08:52:29
Hello,

first thank you for Artix, great job, simple and fast.

I have a warning on startup, not a problem, just to report
 with "hwclock" and "grep"  (/var/log/rc.log)

Quote
hwclock            | * Setting hardware clock using the system clock [UTC] ...
hwclock            |grep: warning: stray \ before -

maybe from a new version of grep? I found this bug report (https://pullanswer.com/questions/hwclock-init-script-logging-grep-warning#6545316)

Excuse my english, i'm french.



Title: Re: Hwclock grep warning
Post by: Lancia on 24 September 2022, 13:30:38
Well I solved the problem for myself by changing grep -q "\-\-noadjfile" to grep -q '\--noadjfile'.