commit 09067d7906890e4bad0ba7f54cbb02482eeb3695
parent c1f7bc770704267b5d420dc20452cc521fcbd7e3
Author: ccx <ccx@te2000.cz>
Date: Tue, 19 Mar 2024 01:22:47 +0000
Add /dev/tty0 for xorg
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/service_scripts/xorg/run b/service_scripts/xorg/run
@@ -61,6 +61,10 @@ ns_run_unshared data/root {
if { mount -o bind /dev/dri ./dev/dri }
if { mount -o bind /dev/input ./dev/input }
+ if { cp -a /dev/tty0 ./dev/tty0 }
+ if { chmod 660 ./dev/tty0 }
+ if { chown root:xorg ./dev/tty0 }
+
if { cp -a /dev/tty${vtN} ./dev/tty${vtN} }
if { chmod 660 ./dev/tty${vtN} }
if { chown root:xorg ./dev/tty${vtN} }