summary refs log tree commit diff
path: root/services/agetty-console
diff options
context:
space:
mode:
Diffstat (limited to 'services/agetty-console')
-rw-r--r--services/agetty-console/conf2
l---------services/agetty-console/finish2
l---------[-rwxr-xr-x]services/agetty-console/run8
3 files changed, 4 insertions, 8 deletions
diff --git a/services/agetty-console/conf b/services/agetty-console/conf
new file mode 100644
index 0000000..c725133
--- /dev/null
+++ b/services/agetty-console/conf
@@ -0,0 +1,2 @@
+BAUD_RATE=38400
+TERM_NAME=linux
diff --git a/services/agetty-console/finish b/services/agetty-console/finish
index fa7eecd..ad464cb 120000
--- a/services/agetty-console/finish
+++ b/services/agetty-console/finish
@@ -1 +1 @@
-/etc/sv/agetty-generic/finish
\ No newline at end of file
+../agetty-generic/finish
\ No newline at end of file
diff --git a/services/agetty-console/run b/services/agetty-console/run
index 9fc6409..26e72f0 100755..120000
--- a/services/agetty-console/run
+++ b/services/agetty-console/run
@@ -1,7 +1 @@
-#!/bin/sh
-if [ -x /sbin/getty ]; then
-	GETTY=getty
-elif [ -x /sbin/agetty ]; then
-	GETTY=agetty
-fi
-exec $GETTY console 38400 linux
+../agetty-generic/run
\ No newline at end of file