]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Silence notices (like 'Line references path below legacy directory /var/run/...').
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 15 Jan 2020 14:12:43 +0000 (15:12 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 15 Jan 2020 14:12:43 +0000 (15:12 +0100)
rc.d/rc.sysinit

index 083b0808afcf2ab43b798bdb5937bd0cc0804bc9..b55f0cc713a43ff15f46c6c753bd41345d2ee100 100755 (executable)
@@ -1029,7 +1029,7 @@ touch /var/log/wtmp
 chown root:utmp /var/run/utmp /var/log/wtmp
 chmod 0664 /var/run/utmp /var/log/wtmp
 
-[ -x /bin/systemd-tmpfiles ] && /bin/systemd-tmpfiles --clean --boot
+[ -x /bin/systemd-tmpfiles ] && SYSTEMD_LOG_LEVEL=warning /bin/systemd-tmpfiles --clean --boot
 
 # Clean /tmp
 if is_yes "$CLEAN_TMP" && ! is_fsmounted tmpfs /tmp; then
@@ -1041,7 +1041,7 @@ mkdir -m 1777 -p /tmp/.ICE-unix > /dev/null 2>&1
 chown root:root /tmp/.ICE-unix
 is_yes "$SELINUX" && restorecon /tmp/.ICE-unix >/dev/null 2>&1
 
-[ -x /bin/systemd-tmpfiles ] && /bin/systemd-tmpfiles --create --boot
+[ -x /bin/systemd-tmpfiles ] && SYSTEMD_LOG_LEVEL=warning /bin/systemd-tmpfiles --create --boot
 
 test -d /var/run/netreport || mkdir -m 770 /var/run/netreport
 
This page took 0.687492 seconds and 4 git commands to generate.