Skip to content

Commit 7082410

Browse files
q66leahneukirchen
authored andcommitted
services: add agetty services for hvc0 and hvsi0
These are used for virtual terminal/serial console on some hypervisors (Xen) as well as many POWER based machines (the OPAL firmware emulates these for serial as the OS has no physical access to that).
1 parent abd5e95 commit 7082410

8 files changed

Lines changed: 17 additions & 0 deletions

File tree

services/agetty-hvc0/conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
GETTY_ARGS="-L"
2+
BAUD_RATE=9600
3+
TERM_NAME=vt100

services/agetty-hvc0/finish

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../agetty-generic/finish

services/agetty-hvc0/run

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../agetty-serial/run

services/agetty-hvc0/supervise

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/run/runit/supervise.agetty-hvc0

services/agetty-hvsi0/conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
GETTY_ARGS="-L"
2+
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
3+
# util-linux specific settings
4+
GETTY_ARGS="${GETTY_ARGS} -8"
5+
fi
6+
7+
BAUD_RATE=19200
8+
TERM_NAME=vt100

services/agetty-hvsi0/finish

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../agetty-generic/finish

services/agetty-hvsi0/run

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../agetty-serial/run

services/agetty-hvsi0/supervise

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/run/runit/supervise.agetty-hvsi0

0 commit comments

Comments
 (0)