case $1 in
autoboot)
echo Automatic reboot in progress...
case ${fsck_unattended} in
[Yy][Ee][Ss])
echo Automatic reboot in progress... (unattended)
fsck -p || fsck -y
;;
[Nn][Oo])
fsck -p
esac
case $? in
0)