commit a1f344000bc37ded662288eb30904ec9e0dc7c93
parent f9a14d192f33920ca4a18ae883b1ddc5bfcf8129
Author: sin <sin@2f30.org>
Date: Mon, 10 Feb 2014 15:54:06 +0000
Don't run getty in the background - use exec instead
By doing so we ignore SIGINT etc.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/rc.svc b/bin/rc.svc
@@ -16,4 +16,4 @@ done
echo Running rc.local
[ -x /bin/rc.local ] && /bin/rc.local
-while :; do echo; getty /dev/tty1 linux; done &
+exec sh -c 'while :; do echo; getty /dev/tty1 linux; done'