#!/bin/sh
+>/dev/watchdog
export PATH=/sbin:/bin:/usr/sbin:/usr/bin
exec >/dev/console 2>&1
while read dev fs fstype opts rest; do
stty sane
echo "made it to the rootfs! Powering down."
#sh -i
+>/dev/watchdog
mount -n -o remount,ro / &> /dev/null
+>/dev/watchdog
poweroff -f
sudo $basedir/dracut.sh -l -i $TESTDIR/overlay / \
-o "plymouth" \
- -a "debug" \
- -d "piix ide-gd_mod ata_piix ext2 ext3 sd_mod e1000" \
+ -a "debug watchdog" \
+ -d "piix ide-gd_mod ata_piix ext2 ext3 sd_mod e1000 ib700wdt" \
-f $TESTDIR/initramfs.testing $KVERSION || return 1
}