summaryrefslogtreecommitdiff
path: root/system/gettys-openrc/gettys.confd
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2018-08-19 21:31:04 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2018-08-19 21:31:04 +0000
commit54d8b12cfe5b6028b5e1152ba1627878d3657a6b (patch)
tree1d39f5f0a53a184403fc87bf543f847145f650fd /system/gettys-openrc/gettys.confd
parentcb085205ea9982a9857c0d06967314c29b17e811 (diff)
downloadpackages-54d8b12cfe5b6028b5e1152ba1627878d3657a6b.tar.gz
packages-54d8b12cfe5b6028b5e1152ba1627878d3657a6b.tar.bz2
packages-54d8b12cfe5b6028b5e1152ba1627878d3657a6b.tar.xz
packages-54d8b12cfe5b6028b5e1152ba1627878d3657a6b.zip
system/gettys-openrc: new package. Move all getty definitions to it.
Small change to system/adelie-base so it includes gettys-openrc. Small change to system/s6 so it doesn't statically define gettys.
Diffstat (limited to 'system/gettys-openrc/gettys.confd')
-rw-r--r--system/gettys-openrc/gettys.confd14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/gettys-openrc/gettys.confd b/system/gettys-openrc/gettys.confd
new file mode 100644
index 000000000..910954cdd
--- /dev/null
+++ b/system/gettys-openrc/gettys.confd
@@ -0,0 +1,14 @@
+# Set to the list of devices you want to spawn a getty on if the device exists
+
+GETTYS="tty1 tty2 tty3 tty4 tty5 tty6 hvc0 ttyS0"
+
+
+# For every tty defined here, fill agetty options and baud rate if applicable
+
+GETTYS_hvc0_OPTIONS="-L"
+
+GETTYS_ttyS0_OPTIONS="-8 -h"
+GETTYS_ttyS0_BAUDRATE="115200"
+
+GETTYS_ttyS1_OPTIONS="-8 -h"
+GETTYS_ttyS1_BAUDRATE="115200"