Tidy up "services_dyndns" XHTML

Add CDATA section to scripts
Add SUMMARY to tables
Move NOWRAP to class statement
Deprecate ampersand
Close INPUT and IMG tags and ALT to IMG tags
Add missing closing P tag
Update HTML Boolean operators
Remove duplicate closing TD tags
Remove duplicate opening TR tags
Tidy up "services rfc2136" XHTML

Add SUMMARY to tables
Move NOWRAP to class statement
Close INPUT and IMG tags and add ALT to IMG tags
Update HTML Boolean operators
Remove duplicate closing TD tag
Add missing closing TD tag
Tidy up "services_igmpproxy" XHTML

Add SUMMARY to tables
Close INPUT and IMG tags and add ALT to IMG tags
Deprecate ampersand in anchor tags
Add CDATA section to scripts
Update HTML Boolean operators
Remove empty TFOOT
Tidy up "load_balancer_pool" XHTML

Add SUMMARY to tables
Update PHP shorthand
Move "fbegin.inc" include between BODY and SCRIPT
Add CDATA section to scripts
Close INPUT tags
Update HTML Boolean operators
Move SELECT tag into the PHP IF statement
Tidy up "load_balancer_virtual_server" XHTML

Add SUMMARY to tables
Update PHP shorthand
Move "fbegin.inc" inbetween BODY and SCRIPT
Close INPUT tags
Update HTML Boolean operators
Move closing SELECT into the PHP IF statement
Move the "save" and "cancel" buttons into right-hand column
Tidy up "load_balancer_monitor" XHTML

Add SUMMARY to tables
Update PHP shorthamd
Move "fbegin.inc" between BODY and SCRIPT
Add CDATA section to scripts
Close INPUT tags
Update HTML Boolean operators
Add missing opening and closing TD tags
Remove duplicate closing TD tag and add missing closing TR tag
Tidy up "load_balancer_setting" XHTML

Add SUMMARY to tables
Closing INPUT tags
Add missing closing TD tag
Tidy up "services_ntpd" XHTML

Add "closehead" PHP variable and manually close HEAD
Add CDATA sections to SCRIPTS
Closing IMG tag and add ALT
Change "onclick" to lower case
Add SUMMARY to tables
Close INPUT tags
Update HTML Boolean operators
Remove closing anchor tag from INPUT tag
Tidy up "serviecs_ntp_gps" XHTML

Add "closehead" PHP variable and manually close HEAD
Add CDATA section to SCRIPTS
Add SUMMARY to tables
Update HTML Boolean operators
Close INPUT tags
Remove closing anchor tag from INPUT tags
Change "onclick" to lower case
Tidy up "services_ntpd_pps" XHTML

Add SUMMARY to tables
Update HTML Boolean operators
Close INPUT tags
Add missing closing DIV, closing TD and closing TR tags
Tidy up "vpn_pppoe" XHTML

Add SUMMARY to tables
Close IMG tags and and ALT
Move NOWRAP to class statement
Close INPUT tags
Tidy up "services_snmp" XHTML

Add "closehead" PHP variable and manually close HEAD
Add CDATA section to scripts
Add SUMMARY to tables
Closing INPUT tags
Change "onclick" to lower case
Update HTML Boolean operators
Add missing closing SELECT tag and missing closing TD tag
Tidy up "services_wol" XHTML

Add SUMMARY to tables
Update HTML Boolean operators
Close INPUT and IMG tags and add ALT to IMG tags
Deprecate ampersand in anchor tags
Move NOWRAP into class statement
Remove empty EM tag
Cut paste bug fix in Remote Syslog DHCP events

apinger is repeated here from the code above, but it should be dhcp.
Forum https://forum.pfsense.org/index.php?topic=73734.0
Selecting to remote syslog "Gateway Monitor events" would also switch on "DHCP service events" unintentionally.
Make sure /usr/local/etc/rc.d exists

On 2.2-ALPHA (i386)built on Mon Apr 21 13:01:11 CDT 2014 (for example) there was /usr/local/etc but not /usr/local/etc/rc.d - when I tried to install bandwidthd, that called write_rcfile() which failed because /usr/local/etc/rc.d did not already exist.
Best to check for it and make it if it does not exist.
(I am guessing that the 2.1.n image builds already had /usr/local/etc/rc.d bnefore any packages were installed, otherwise this problem should have already been an issue prior to 2.2)
Fix PBI symlink creation and deletion under /usr/local following .pbiopt files, also drop setup_library_paths() since it's not necessary anymore
Missed pbi_prefix here
Make sure that the DNS Forwarder/Resolver is actually capable of accepting queries on localhost before using it as a DNS server.
This doesn't need via-env
No spaces between variable assignments in sh