This will keep xwin from being called the first time if used. xwin can be run anytime after that to start your window manager.
The line numbers might be different now, I did this a version or two ago. If there are any questions, feel free to ask.
'init'
Code: Select all
Set Var to yes at beginning (not sure if this is needed, but I used it):
XWINDOW="yes"
Line 43 (where pfix args are set):
nox) XWINDOW="no";; #no xwindows
Line 1272 (new addition to the PUPSTATE file)
echo "XWINDOW='$XWINDOW'" >> /pup_rw/etc/rc.d/PUPSTATE
=================
'xwin'
Code: Select all
(PUPSTATE is included already in xwin, so we can use it here)
if [ "$XWINDOW" != "no" ];then
#finally, start X...
<code>
#...if PC hung, run xorgwizard at next bootup (see further up).
else
echo "XWINDOW='yes'" >> /etc/rc.d/PUPSTATE
fi