Gentoo Archives: gentoo-catalyst

From: Christophe PEREZ <christophe.perez@×××××××.com>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] Re: Re: Re: livecd-stage1 pkgconfig
Date: Thu, 14 Jul 2005 19:36:58
Message-Id: pan.2005.07.14.19.36.40.372862@novazur.fr
In Reply to: Re: [gentoo-catalyst] Re: Re: livecd-stage1 pkgconfig by Chris Gianelloni
1 Le Thu, 14 Jul 2005 14:57:53 -0400, Chris Gianelloni a écrit :
2
3 > I just did it like this:
4 >
5 > sed -i 's/##STARTX/su - $first_user -c "source /etc/profile &&
6 > startx"/' /root/.bashrc
7
8 ???
9
10 - $first_user won't be used
11 - too much '/'
12 - & will be replaced
13
14 In the way with "'", it should be :
15 sed -i 's|##STARTX|su - '"${first_user}"' -c "source /etc/profile \&\&
16 startx"|' /root/.bashrc
17
18 no ?
19
20 --
21 Christophe PEREZ
22 --
23 gentoo-catalyst@g.o mailing list

Replies

Subject Author
Re: [gentoo-catalyst] Re: Re: Re: livecd-stage1 pkgconfig Chris Gianelloni <wolf31o2@g.o>