[K12OSN] lts.conf query

Calvin Dodge caldodge at fpcc.net
Tue Mar 22 20:03:13 UTC 2005


Huck wrote:
> Is it possible to say in lts.conf
> 
> [ws120 - ws129]
>    XSERVER = sis
> 
> 
> [ws130 - ws139]
>    XSERVER = ati
> 
> 
> 
> ??
> 
> or do I have to explicitly set each one?
> 
> or maybe something like
> 
> sislab = ws120,ws121,ws122,ws123,ws124,ws125,ws126,ws127,ws128,ws129
> 
> and then
> 
> [sislab]
>    XSERVER = sis

I'm having a little trouble determining this from the source code (100K 
of Perl), but I doubt either of the above options is possible.

The following script will add the appropriate entries to lts.conf
(n=120;while [ $n -le 129 ];do echo \[ws$n\];n=$((n+1));echo "   XSERVER 
= sis ";done) >>/opt/ltsp/i386/etc/lts.conf

Calvin

-- 
Calvin Dodge
Certified Linux Bigot (tm)
http://www.caldodge.fpcc.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: caldodge.vcf
Type: text/x-vcard
Size: 237 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/k12osn/attachments/20050322/fccf0af6/attachment.vcf>


More information about the K12OSN mailing list