summary refs log tree commit diff
path: root/services/agetty-tty1/run
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-tty1/run
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-tty1/run')
l---------[-rwxr-xr-x]services/agetty-tty1/run12
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