RE: /etc/sysconfig/desktop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks,

Actually I have thought of this solution but I have an other line in the
desktop file: 'DESKTOP=icewm' but with this command it would be
overwritten.

So I have a nice script to check the desktop file and put the PREFERRED
thing into it if this line would not exist, and this script would go to
the %post part.

I was only curious whether there is any other solution.

Thanks again!

Tamas

-----Original Message-----
From: kickstart-list-bounces@xxxxxxxxxx
[mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of ext John
Summerfield
Sent: Tuesday, January 23, 2007 9:00 PM
To: Discussion list about Kickstart
Subject: Re: /etc/sysconfig/desktop

Shabazian, Chip wrote:
> Do you simply need to add the line PREFERRED="icewm" to 
> /etc/sysconfig/desktop?
>  
> If so, just put this in %post
>  
> echo "PREFERRED=\"icewm\"" >> /etc/sysconfig/desktop

Or
echo PREFERRED=icewm >> /etc/sysconfig/desktop

You don't need any of those quotes, and hence no quoting of quotes.

-- 

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx

Please do not reply off-list

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux