diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-03-31 17:14:55 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-04-01 14:46:43 +0200 |
commit | 78decbdb515f78864ad8144779cd453caacd7e90 (patch) | |
tree | 8b3e86fc82c38f6673201f0eafc976f9401f4617 /services/agetty-tty1/run | |
parent | 12c657aa09efeed53e54ecb8f3fbd40c46d32746 (diff) | |
download | runit-void-78decbdb515f78864ad8144779cd453caacd7e90.tar.gz runit-void-78decbdb515f78864ad8144779cd453caacd7e90.tar.xz runit-void-78decbdb515f78864ad8144779cd453caacd7e90.zip |
services: Refactor agetty-tty? services
Diffstat (limited to 'services/agetty-tty1/run')
l---------[-rwxr-xr-x] | services/agetty-tty1/run | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/services/agetty-tty1/run b/services/agetty-tty1/run index dc01b10..26e72f0 100755..120000 --- a/services/agetty-tty1/run +++ b/services/agetty-tty1/run @@ -1,11 +1 @@ -#!/bin/sh -tty=${PWD##*-} -if [ -x /sbin/getty ]; then - # busybox - GETTY=getty -elif [ -x /sbin/agetty ]; then - # util-linux - GETTY=agetty - GETTY_ARGS="--noclear" -fi -exec setsid $GETTY $GETTY_ARGS $tty 38400 linux +../agetty-generic/run \ No newline at end of file |