blob: 3ca88b202078d6ae1a441ca9ea2421875c1e6838 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
#BLURB="Choose a default window manager for X"
TMP=/var/log/setup/tmp
if [ -r $TMP/SeTT_PX ]; then
T_PX="`cat $TMP/SeTT_PX`"
elif [ ! "$1" = "" ]; then
T_PX=$1
else
T_PX=/
fi
if [ "$COLOR" = "on" -o -r $TMP/SeTcolor -o "$T_PX" = "/" ]; then # use menus
if [ -d $T_PX/etc/X11/xinit ]; then
chroot $T_PX /bin/bash /usr/bin/xwmconfig
fi
fi
|