about summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
authorJuan RP <xtraeme@voidlinux.eu>2015-06-02 08:42:40 +0200
committerJuan RP <xtraeme@voidlinux.eu>2015-06-02 08:42:40 +0200
commit341f0470cfcae91e180e0c7ddf0101ca2c92253c (patch)
tree83c4ad79b879336f53a354244d905d8f0452f7bc /services
parent4bb1c55f3390bbcb0e11b4ab44299ae06d89b888 (diff)
downloadrunit-void-341f0470cfcae91e180e0c7ddf0101ca2c92253c.tar.gz
runit-void-341f0470cfcae91e180e0c7ddf0101ca2c92253c.tar.xz
runit-void-341f0470cfcae91e180e0c7ddf0101ca2c92253c.zip
Update paths for the usr/sbin -> usr/bin move.
Diffstat (limited to 'services')
-rwxr-xr-xservices/agetty-generic/run4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/agetty-generic/run b/services/agetty-generic/run
index 1e6c2bd..af36daa 100755
--- a/services/agetty-generic/run
+++ b/services/agetty-generic/run
@@ -4,10 +4,10 @@ tty=${PWD##*-}
 
 [ -r conf ] && . ./conf
 
-if [ -x /sbin/getty ]; then
+if [ -x /sbin/getty -o -x /bin/getty ]; then
 	# busybox
 	GETTY=getty
-elif [ -x /sbin/agetty ]; then
+elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
 	# util-linux
 	GETTY=agetty
 fi