aboutsummaryrefslogtreecommitdiffstats
path: root/event.d/serial
blob: 6c29af044c91d8efa3cd4b2b74482ea8be2a86bd (plain)
1
2
3
4
5
6
7
8
9
10
11

start on fedora.serial-console-available *
stop on runlevel [016]

instance
exec /sbin/agetty /dev/$1 $2 vt100-nav
post-stop script
	if [ "$UPSTART_EVENT" != "${UPSTART_EVENT##fedora.serial-console-available}" ]; then
		initctl emit --no-wait fedora.serial-console-available $1 $2
	fi
end script