#! /bin/sh

# Treat the -y flag the same way other fsck.* instances do
ADD_OPTS=""
for opt
do
	case "$opt" in
		--)
			break
			;;
		-y)
			ADD_OPTS="-a"
			;;
	esac
done

# Be sure to invoke reiserfsck quitely for booting over slow consoles
exec /sbin/reiserfsck -q $ADD_OPTS "$@"
