aboutsummaryrefslogtreecommitdiffstats
path: root/event.d/serial
diff options
context:
space:
mode:
Diffstat (limited to 'event.d/serial')
-rw-r--r--event.d/serial2
1 files changed, 2 insertions, 0 deletions
diff --git a/event.d/serial b/event.d/serial
index 8751ef84..80695338 100644
--- a/event.d/serial
+++ b/event.d/serial
@@ -15,6 +15,8 @@ pre-start script
esac
sleep 1
done
+ /sbin/securetty $1
+end script
exec /sbin/agetty /dev/$1 $2 vt100-nav
post-stop script
if [ "$UPSTART_EVENT" != "${UPSTART_EVENT##fedora.serial-console-available}" ]; then