TEST-10-RAID/test-init: turn off debug for shutdown

master
Harald Hoyer 2011-07-20 21:10:58 +02:00
parent ceaf49d735
commit 00d89f5170
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ echo "made it to the rootfs!"
strstr "$CMDLINE" "rd.shell" && sh -i
echo "Powering down."
mount -n -o remount,ro /
echo " rd.debug=0 " > /run/initramfs/etc/cmdline
if [ -e /lib/systemd/systemd-shutdown ]; then
exec /lib/systemd/systemd-shutdown poweroff
fi