canuck15 wrote:
> It is important to note that when running from Astlinux you need to edit the
> the *.conf files in the /stat directory after mounting rw.  This will edit
> the files that are actually on the CF drive.  If you try edit the files
> running in the normal directories associated with Asterisk you will simply
> be editing files running in RAM.  After reboot these files are loaded from
> the /stat directory so any changed you make in RAM won't stick.
>
> This is not a well documented unique feature of Astlinux.  When I have more
> time I hope to contribute to documenting this better.
>   
This is not entirely true.  While it will work, many of the config files 
are designed to be placed on the keydisk.  Upon boot up, the init 
scripts check for the existence of the config files on the keydisk.  If 
they are not there, the one from /stat is used.  If the config files are 
on the keydisk, those are used.

Here's a section from the rc file:

<<start>>
mount /mnt/kd > /dev/null 2> /dev/null

fi

if [ -f /mnt/kd/rc.conf ]
then
ln -s /mnt/kd/rc.conf /tmp/etc/rc.conf
else
cp -a /stat/etc/rc.conf /tmp/etc/rc.conf
fi
<<end>>

So as you can see, the contents of /stat are basically there to provide 
you with some default config files for use if your own personal ones do 
not exist.



-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com
_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

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

Reply via email to