#! /bin/sh
autologin=1
for opt in "$@" ; do
if [ "$opt" = "-l" -o "$opt" = "-n" ] ; then
autologin=0
fi
done
if [ "$autologin" = "1" ] ; then
exec /sbin/agetty -n -l /sbin/casper-login $*
else
exec /sbin/agetty $*