commit c2301d5e1924c5d7220aa05e550e30b5287ef671
parent e0f72bdadf52b45884053d8d21c2b909cdb9aced
Author: ccx <root@dorje.wpr.cz>
Date: Sat, 19 Feb 2022 23:22:35 +0100
Rely on PATH environment instead of absolute filenames for env and login-keepenv.
Diffstat:
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tty1/run b/tty1/run
@@ -9,4 +9,4 @@ foreground {
}
unexport SERVICE_PID
-/usr/bin/env LOGIN_TTY=/dev/tty1 /sbin/getty -l /usr/local/bin/login-keepenv 38400 tty1 linux
+env LOGIN_TTY=/dev/tty1 /sbin/getty -l login-keepenv 38400 tty1 linux
diff --git a/tty2/run b/tty2/run
@@ -9,4 +9,4 @@ foreground {
}
unexport SERVICE_PID
-/usr/bin/env LOGIN_TTY=/dev/tty2 /sbin/getty -l /usr/local/bin/login-keepenv 38400 tty2 linux
+env LOGIN_TTY=/dev/tty2 /sbin/getty -l login-keepenv 38400 tty2 linux
diff --git a/tty3/run b/tty3/run
@@ -9,4 +9,4 @@ foreground {
}
unexport SERVICE_PID
-/usr/bin/env LOGIN_TTY=/dev/tty3 /sbin/getty -l /usr/local/bin/login-keepenv 38400 tty3 linux
+env LOGIN_TTY=/dev/tty3 /sbin/getty -l login-keepenv 38400 tty3 linux
diff --git a/tty4/run b/tty4/run
@@ -9,4 +9,4 @@ foreground {
}
unexport SERVICE_PID
-/usr/bin/env LOGIN_TTY=/dev/tty4 /sbin/getty -l /usr/local/bin/login-keepenv 38400 tty4 linux
+env LOGIN_TTY=/dev/tty4 /sbin/getty -l login-keepenv 38400 tty4 linux