#!/bin/sh tty=${PWD##*-} exec setsid agetty $([ $tty = tty1 ] && echo --noclear) $tty linux