From 4b8afb999975a31089c08cdcfcdce5dd466a1bbf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Wed, 15 Jan 2020 15:12:43 +0100 Subject: [PATCH] Silence notices (like 'Line references path below legacy directory /var/run/...'). --- rc.d/rc.sysinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 083b0808..b55f0cc7 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -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 -- 2.44.0