From 4fa5bb88de05a7af4acd4a96f0185a2b55264844 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Mon, 30 Aug 2021 15:38:28 +0000 Subject: Generate all the config scripts to avoid hard-coding /usr/X11R6. This was already done partially. --- config/TakeConsole | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 config/TakeConsole (limited to 'config/TakeConsole') diff --git a/config/TakeConsole b/config/TakeConsole deleted file mode 100644 index cf649f9..0000000 --- a/config/TakeConsole +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# Reassign ownership of the console to root, this should disallow -# assignment of console output to any random users's xterm -# $OpenBSD: TakeConsole,v 1.5 2021/02/12 10:33:34 jsg Exp $ -# -chown root /dev/console -chmod 622 /dev/console -if [ -c /dev/drm0 ]; then - chown root /dev/drm0 -fi -if [ -c /dev/drmR128 ]; then - chown root /dev/drmR128 -fi -if [ -c /dev/dri/card0 ]; then - chown root /dev/dri/card0 -fi -if [ -c /dev/dri/renderD128 ]; then - chown root /dev/dri/renderD128 -fi -/usr/X11R6/bin/sessreg -d -l $DISPLAY -u none $USER -- cgit v1.2.3