TEST-10-RAID/test-init: turn off debug for shutdown
parent
ceaf49d735
commit
00d89f5170
|
|
@ -14,6 +14,7 @@ echo "made it to the rootfs!"
|
||||||
strstr "$CMDLINE" "rd.shell" && sh -i
|
strstr "$CMDLINE" "rd.shell" && sh -i
|
||||||
echo "Powering down."
|
echo "Powering down."
|
||||||
mount -n -o remount,ro /
|
mount -n -o remount,ro /
|
||||||
|
echo " rd.debug=0 " > /run/initramfs/etc/cmdline
|
||||||
if [ -e /lib/systemd/systemd-shutdown ]; then
|
if [ -e /lib/systemd/systemd-shutdown ]; then
|
||||||
exec /lib/systemd/systemd-shutdown poweroff
|
exec /lib/systemd/systemd-shutdown poweroff
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue