aboutsummaryrefslogtreecommitdiff
path: root/livecd
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2023-03-29 14:09:44 -0500
committerBen Kohler <bkohler@gentoo.org>2023-03-31 08:27:38 -0500
commit863f2c97df61729d3041fb85a4c720756c2158fc (patch)
treef48783eb19bbd3f82671c374762681aa841f3784 /livecd
parentlivecdfs-update.sh: replace local handbook with wiki handbook (diff)
downloadcatalyst-863f2c97df61729d3041fb85a4c720756c2158fc.tar.gz
catalyst-863f2c97df61729d3041fb85a4c720756c2158fc.tar.bz2
catalyst-863f2c97df61729d3041fb85a4c720756c2158fc.zip
livecdfs-update, livecd-bashrc: remove archaic X autostarting setup
This was used by gamecd targets many many years ago to autostart X with a game on tty1 for this cd type. It was then still being "used" by generic targets by mistake, but some of the code is in ALL targets' bashrc, and causing some errors on login. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'livecd')
-rw-r--r--livecd/files/livecd-bashrc13
1 files changed, 0 insertions, 13 deletions
diff --git a/livecd/files/livecd-bashrc b/livecd/files/livecd-bashrc
index 18b8f1d8..a9bf588e 100644
--- a/livecd/files/livecd-bashrc
+++ b/livecd/files/livecd-bashrc
@@ -1,14 +1 @@
#!/bin/bash
-
-if [ ! "$(grep nox /proc/cmdline)" ]
-then
- if [ -x /usr/bin/X ]
- then
- if [ -e /etc/startx -a $(tty) = "/dev/tty1" ];
- then
- rm -f /etc/startx
- ##STARTX
- [ -f /etc/motd ] && cat /etc/motd
- fi
- fi
-fi