summaryrefslogtreecommitdiffstats
path: root/command-stubs
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-04-19 15:38:19 +0000
committerChris Lumens <clumens@redhat.com>2006-04-19 15:38:19 +0000
commit35ed969c6d20150c9ef0cf689611af2bb6656607 (patch)
treeaa25e6b1c8dd508f038200e0ccaa4b8f9b284c29 /command-stubs
parente2f0da330758dfd70e2599060bb77732f07d44b9 (diff)
downloadanaconda-35ed969c6d20150c9ef0cf689611af2bb6656607.tar.gz
anaconda-35ed969c6d20150c9ef0cf689611af2bb6656607.tar.xz
anaconda-35ed969c6d20150c9ef0cf689611af2bb6656607.zip
Removed rescue-startx-stub for rhpxl simplification.
Diffstat (limited to 'command-stubs')
-rw-r--r--command-stubs/Makefile2
-rwxr-xr-xcommand-stubs/rescue-startx-stub23
2 files changed, 1 insertions, 24 deletions
diff --git a/command-stubs/Makefile b/command-stubs/Makefile
index b69270f18..e68983bba 100644
--- a/command-stubs/Makefile
+++ b/command-stubs/Makefile
@@ -1,7 +1,7 @@
include ../Makefile.inc
STUBS = raidstart-stub raidstop-stub kudzu-probe-stub list-harddrives-stub \
- loadkeys-stub losetup-stub pump-stub mknod-stub rescue-startx-stub
+ loadkeys-stub losetup-stub pump-stub mknod-stub
all:
@echo "Nothing to do"
diff --git a/command-stubs/rescue-startx-stub b/command-stubs/rescue-startx-stub
deleted file mode 100755
index 3659efef9..000000000
--- a/command-stubs/rescue-startx-stub
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/python
-#
-#
-# Stub to start X in rescue mode with twm and an xterm
-#
-
-import os, sys
-import rhpxl.xserver as xserver
-import rhpl.keyboard as keyboard
-
-# see if its even possible
-if not os.access("/mnt/sysimage/usr/X11R6/bin/xterm", os.X_OK) or not os.access("/mnt/sysimage/usr/X11R6/bin/twm", os.X_OK):
- print "Must have mounted an existing installation in rescue mode to work."
- sys.exit(0)
-
-if len(sys.argv) > 1:
- mode = sys.argv[1]
-else:
- mode = '800x600'
-
-xserver.probeHWandStartXServer(mode)
-os.system("xterm&")
-os.system("twm")