From 39702615b70532178532bdee7e7fdc5dae8084f0 Mon Sep 17 00:00:00 2001 From: Earnestly Date: Tue, 5 Dec 2017 10:04:27 +0000 Subject: [PATCH] sx: fgconsole is no longer needed --- sx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sx b/sx index c5f433c..bee0be9 100755 --- a/sx +++ b/sx @@ -1,7 +1,7 @@ #!/bin/sh -- # sx - start an xserver -# requires fgconsole stty timeout xauth Xorg +# requires timeout tail xauth Xorg # I'm willing to take advantage of errexit for this script as roughly 85% of # the error checking would just be exiting on command failure. @@ -56,7 +56,7 @@ xauth add :"$tty" MIT-MAGIC-COOKIE-1 "$(mcookie)" # We take advantage of this feature to launch our client directly from the # SIGUSR1 handler and avoid the need to poll for readiness. -trap 'DISPLAY=:$tty "${@:-"$cfgdir"/sxrc}"' USR1 +trap 'DISPLAY=:$tty "${@:-$cfgdir/sxrc}"' USR1 ( trap '' USR1 exec /usr/lib/xorg-server/Xorg :"$tty" -keeptty vt"$tty" -noreset -auth "$XAUTHORITY"