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