aboutsummaryrefslogtreecommitdiffstats
path: root/event.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-04-03 17:38:43 -0400
committerBill Nottingham <notting@redhat.com>2008-04-03 17:38:43 -0400
commit8107b70fe8168264cbf5b5fed32e41fcafd0e2df (patch)
treeb13e96ce0ef8a1e9fc3983237b4613396f04310b /event.d
parent6aebc60dd20d3528ad5eee0438a4e65f02adfae0 (diff)
downloadinitscripts-8107b70fe8168264cbf5b5fed32e41fcafd0e2df.tar
initscripts-8107b70fe8168264cbf5b5fed32e41fcafd0e2df.tar.gz
initscripts-8107b70fe8168264cbf5b5fed32e41fcafd0e2df.tar.bz2
initscripts-8107b70fe8168264cbf5b5fed32e41fcafd0e2df.tar.xz
initscripts-8107b70fe8168264cbf5b5fed32e41fcafd0e2df.zip
Add a 'securetty' command that frobs /etc/securetty. Call it from the serial event. (#437381)
Diffstat (limited to 'event.d')
-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