Rob wrote:
Bruce Dubbs <[email protected]> wrote:
We recently mad a change to the systemd book to omit a change to the
startx script.  If you did:

sed -e '/$serverargs $vtarg/ s/serverargs/: #&/' -i startx.cpp

You can undo it by editing /opt/xorg/bin/startx (or /usr/bin/xtartx if you
installed in /usr) and removing the ': #' that was inserted.  It should be
around line 137.


I do not have that sed change made:
Contents of
/usr/bin/startx
starting around line 130

# if no vt is specified add vtarg (which may be empty)
have_vtarg="no"
for i in $serverargs; do
     if expr match "$i" '^vt[0-9]\+$' > /dev/null; then
         have_vtarg="yes"
     fi
done
if [ "$have_vtarg" = "no" ]; then
     serverargs="$serverargs $vtarg"
fi

I assume that is code block we are looking for?

Yes.  That seems to be OK for you.

  -- Bruce



--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to