diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-03-31 17:20:51 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-04-01 14:46:43 +0200 |
commit | f6f0e1ccb0a7e15acad6509d2d87f0268bb65f6f (patch) | |
tree | bb3cb3126254a045c9784510aef3e65024bd52be /services | |
parent | 78decbdb515f78864ad8144779cd453caacd7e90 (diff) | |
download | runit-void-f6f0e1ccb0a7e15acad6509d2d87f0268bb65f6f.tar.gz runit-void-f6f0e1ccb0a7e15acad6509d2d87f0268bb65f6f.tar.xz runit-void-f6f0e1ccb0a7e15acad6509d2d87f0268bb65f6f.zip |
services: Refactor agetty-console
Diffstat (limited to 'services')
-rw-r--r-- | services/agetty-console/conf | 2 | ||||
l---------[-rwxr-xr-x] | services/agetty-console/run | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/services/agetty-console/conf b/services/agetty-console/conf new file mode 100644 index 0000000..abccdb5 --- /dev/null +++ b/services/agetty-console/conf @@ -0,0 +1,2 @@ +baud_rate=38400 +term_name=linux 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 |