#!/bin/sh -euC
SERVICE=getty-tty2
if [ "$1" = 163 ] ; then
    echo "runsv: ERROR in $SERVICE: another getty already on tty2"
    sv d "$(dirname "${0}")"
    exit 0
fi
exec utmpset -w tty2
