On Apr 6, 2008, at 8:48 AM, Darrick Hartman (lists) wrote:
>
>> I may have found a problem when using config files in /mnt/kd/ 
>> rc.conf.d
>>
>> Problem
>>
>> On every reboot /mnt/kd/rc.conf.d/gui.network.conf is re-written  
>> to /mnt/kd/rc.conf (/mnt/kd/rc.conf grows in size on every reboot)
>
> This is because by default, it assumes that if you're using
> /mnt/kd/rc.conf.d, you won't be using rc.conf (and thus rc.conf is
> located in /tmp/etc and deleted each boot).  This is why I think that
> the init scripts should be changed to read rc.conf AND the individual
> .conf files.  If the .conf files exist, they would overwrite variables
> defined by rc.conf.  With the current design, either use rc.conf OR
> rc.conf.d but not both.

Ahhh, I thought /mnt/kd/rc.conf was copied to /tmp/etc/rc.conf, but  
now I see it is linked.

With the current AstLinux design, Guy, and others using my latest  
altweb with the Network tab here are a few tips:

1) When you click "Save Settings" in the Network tab, a file  
gui.network.conf is created in the directory /mnt/kd/rc.conf.d/
Confirm it is there and take a peek at it if you wish.

2) Next, rename (not copy) your rc.conf file to rc.conf.d/user.conf, ie.
# mv /mnt/kd/rc.conf /mnt/kd/rc.conf.d/user.conf

3) Finally, edit your user.conf and delete almost everything; leaving  
only variable definitions (and comments) that are different from the  
default and not defined in gui.network.conf.  For many, this may only be
HTTPSDIR="/mnt/kd/altweb"
or your chosen altweb location.

Note that anything defined in user.conf will override either the  
defaults in /stat/etc/rc.conf or settings in gui.network.conf.

This applies to AstLinux 0.4.X and later.

Hope this is clear.

Lonnie




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to