setting 'fsckopts=-a' makes it much easier to work on a minix machine
remotely and reboot after a crash.
# National keyboard?
test -f /etc/keymap && loadkeys /etc/keymap
+ # options for fsck. default is -r, which prompts the user for repairs.
+ fsckopts="`sysenv fsckopts`"
+ if [ ! "$fsckopts" ]
+ then fsckopts=-r
+ fi
+
if [ "`sysenv debug_fkeys`" != 0 ]
then
up is -period 5HZ
then
umount $usr
echo "fsck / - $root"
- intr fsck -r $root
+ intr fsck $fsckopts $root
echo "fsck /usr - $usr"
- intr fsck -r $usr
+ intr fsck $fsckopts $usr
if [ ! -z "$home" ]
then echo "fsck /home - $home"
- intr fsck -r $home
+ intr fsck $fsckopts $home
fi
mount $bin_img $usr /usr
fi