[projects/rc-scripts] Silence notices (like 'Line references path below legacy directory /var/run/...').
arekm
arekm at pld-linux.org
Wed Jan 15 15:12:58 CET 2020
commit 4b8afb999975a31089c08cdcfcdce5dd466a1bbf
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Jan 15 15:12:43 2020 +0100
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/rc-scripts.git/commitdiff/4b8afb999975a31089c08cdcfcdce5dd466a1bbf
More information about the pld-cvs-commit
mailing list