We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4fcd58 commit 3615afbCopy full SHA for 3615afb
1 file changed
buildroot-external/rootfs-overlay/etc/init.d/S42LoadNetFiles
@@ -210,6 +210,9 @@ setup_xconf() {
210
if [[ -n "${SCREEN_OFF_TIME}" ]]; then
211
sed -i "/Option .*OffTime/c\\\tOption \"OffTime\" \"${SCREEN_OFF_TIME}\"" /etc/X11/xorg.conf.d/10-serverlayout.conf
212
fi
213
+ if xargs -n1 -a /proc/cmdline | grep -q "^debug$"; then
214
+ DONT_VT_SWITCH_STATE=FALSE
215
+ fi
216
if [[ -n "${DONT_VT_SWITCH_STATE}" ]]; then
217
sed -i "/Option .*DontVTSwitch/c\\\tOption \"DontVTSwitch\" \"${DONT_VT_SWITCH_STATE}\"" /etc/X11/xorg.conf.d/10-serverlayout.conf
218
0 commit comments