On Thu, 2005-07-14 at 14:42 -0400, Christophe PEREZ wrote: > Le Thu, 14 Jul 2005 14:21:50 -0400, Chris Gianelloni a écrit : > > > This will be in catalyst 1.1.10.5, when I release it. > > OOps, big sed error, didn't tried it, sorry : > > --- livecdfs-update.sh.orig 2005-07-14 14:02:12.000000000 -0400 > +++ livecdfs-update.sh 2005-07-14 14:41:41.000000000 -0400 > @@ -79,7 +79,7 @@ > if [ -n "${clst_livecd_users}" -a -e /etc/startx ] > then > first_user=$(echo ${clst_livecd_users} | cut -d' ' -f1) > - sed -i "s/##STARTX/su - $first_user -c startx/" /root/.bashrc > + sed -i "s|##STARTX|su - $first_user -c \"source /etc/profile \&\& startx\"|" /root/.bashrc > fi > > # setup dhcp on all detected ethernet devices > > I hope it's good now. I just did it like this: sed -i 's/##STARTX/su - $first_user -c "source /etc/profile && startx"/' /root/.bashrc -- Chris Gianelloni Release Engineering - Strategic Lead/QA Manager Games - Developer Gentoo Linux