Introduce read_global_var:
- Add a new script, read_global_var, that returns the value of any item contained in global array $g- Replace all grep and sed magic from shell scripts
Introduce read_xml_tag.sh
Create /usr/local/sbin/read_xml_tag.sh, that will read a xml tag fromconfig file using xmllint. Replace all direct read using cat, grep, sed,... by this script
Fix #5220, setup PHP timezone:
- Get defined zoneinfo in the following order: - /var/db/zoneinfo - /cf/conf/config.xml - /etc/inc/globals_override.inc - /etc/inc/globals.inc
Only need to check 'vip' here.
fix comment typo Phil Davis noted
Can't use continue here as it continues the foreach, which skips the "ipfw zone" command, breaking CP for any system that doesn't have VIPs defined.
Restore item accidentaly removed on last commit
Remove /usr/share/zoneinfo.tgz and use FreeBSD stock zoneinfo. It fixes #4726
One more hardcoded pfSense name
time for 2.3-ALPHA
View revisions
Also available in: Atom