Commit 6e33bf38 authored by Martin Pitt's avatar Martin Pitt
Browse files

When booting with "quiet", run the initramfs' udevd with "notice" log level

This avoids the "starting version XXX" message cluttering the screen in quiet
mode.

LP: #1432171
parent 8acd8dc8
......@@ -20,6 +20,8 @@ systemd (219-10) UNRELEASED; urgency=medium
* Put back *.agent scripts and use net.agent in Ubuntu. This fixes escaping
of unit names, reduces the delta, and will make it easier to get a common
solution for integrating ifup.d/ scripts with networkd.
* When booting with "quiet", run the initramfs' udevd with "notice" log
level. (LP: #1432171)
-- Martin Pitt <mpitt@debian.org> Sun, 17 May 2015 11:37:58 +0200
......
......@@ -15,7 +15,13 @@ if [ -w /sys/kernel/uevent_helper ]; then
echo > /sys/kernel/uevent_helper
fi
/lib/systemd/systemd-udevd --daemon --resolve-names=never
if [ "$quiet" = "y" ]; then
log_level=notice
else
log_level=info
fi
SYSTEMD_LOG_LEVEL=$log_level /lib/systemd/systemd-udevd --daemon --resolve-names=never
udevadm trigger --action=add
udevadm settle || true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment