Lonnie Abelbeck wrote:
> Well, I found at lest one case where asterisk reads /etc/localtime.
>
> Following the logic, it may not be called if zoneinfo is matched, but
> it would be a good idea to set it, IMHO.
>
> stdtime/localtime.c:
> } else if (tzload(name, cur_state) != 0) {
> if (name[0] == ':') {
> (void) gmtload(cur_state);
> } else if (tzparse(name, cur_state, FALSE) != 0) {
> /* If not found, load localtime */
> *if (tzload("/etc/localtime", cur_state) != 0)*
> /* Last ditch, get GMT */
> (void) gmtload(cur_state);
> }
> }
>
That routine first tries to read it from the c library directly.
Shouldn't be necessary to set /etc/localtime.
--
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]