summary refs log tree commit diff
path: root/services/agetty-console
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2015-04-02 12:31:31 +0200
committerJuan RP <xtraeme@gmail.com>2015-04-02 12:31:31 +0200
commit5e16d475f1e52af951080b0cd1b8109239f4bee5 (patch)
tree3bc0f443173cdfdd434f8169cd69edfd2dd15b5e /services/agetty-console
parent12c657aa09efeed53e54ecb8f3fbd40c46d32746 (diff)
parentef7ad969f23668ad6a5f45981a19362524f376b2 (diff)
downloadrunit-void-5e16d475f1e52af951080b0cd1b8109239f4bee5.tar.gz
runit-void-5e16d475f1e52af951080b0cd1b8109239f4bee5.tar.xz
runit-void-5e16d475f1e52af951080b0cd1b8109239f4bee5.zip
Merge pull request #32 from nmeum/services 20150402
Refactor services/*
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