Protect against a potential infinite loop here.
Ensure this gets a set default value or things can break
 Tidy up percentage logging to console

When on the console, the code only intended to update the percentage downloaded every 10%. Due to string-and-int type differences, the test was not working, all percentages were being logged. This is fixed.
Also, add a newline after 100% - then whatever outputs next gets a clean start on a new line of output.
Tidies up the console output during a post-firmware-upgrade package install.
Merge pull request #198 from phil-davis/master

Tidy up percentage logging to console
Tidy package cleanup output

Add a "done." and newline after "Cleaning up..."
Then when output is going to the serial console the next line will start cleanly and %age figures will not write over the top of "Clean".
Merge pull request #199 from phil-davis/master

Tidy package cleanup output
require filter.inc so filter_configure is defined

The "renew" button on a DHCP connection ends up calling function interface_dhcpv6_configure() in interfaces.inc, which in turn calls filter_configure() (in filter.inc) but gives the error:
Fatal error: Call to undefined function filter_configure() in /etc/inc/interfaces.inc on line 3350
See forum post: http://forum.pfsense.org/index.php/topic,52046.0.html
Merge pull request #200 from phil-davis/master

require filter.inc so filter_configure is defined
Ensure conf_mount_rw and conf_mount_ro are matched

On nanobsd, running /etc/rc.update_bogons.sh gives:
[2.1-BETA0][admin@test02.homedomain]/tmp(12): /etc/rc.update_bogons.sh 1
/etc/rc.update_bogons.sh: cannot create /etc/bogonsv6: Read-only file system
The code does 1 conf_mount_rw but 2 conf_mount_ro
This is also seen in system.log:
Aug  2 17:47:59 test02 admin: rc.update_bogons.sh is starting up.
Aug  2 17:47:59 test02 admin: rc.update_bogons.sh is beginning the update cycle.
Aug  2 17:49:27 test02 admin: Bogons file downloaded:  1 addresses added.
Aug  2 17:49:29 test02 php: : Reference 1000 is going negative, not doing unreference.
Aug  2 17:49:29 test02 admin: Bogons files downloaded:  no changes.
Aug  2 17:49:29 test02 admin: rc.update_bogons.sh is ending the update cycle.

The V6 bogons file does not get applied because the filesystem is RO by that point.

I have reviewed the whole logic of this shell script. I believe it handles the various cases correctly now. On nanobsd I get the following in system.log:
Aug  2 18:17:13 test02 admin: rc.update_bogons.sh is starting up.
Aug  2 18:17:13 test02 admin: rc.update_bogons.sh is beginning the update cycle.
Aug  2 18:18:02 test02 admin: Bogons V4 file downloaded:  no changes.
Aug  2 18:18:10 test02 admin: Bogons V6 file downloaded:  58959 addresses added.
Aug  2 18:18:52 test02 admin: rc.update_bogons.sh is ending the update cycle.
In order for miniupnpd to latch onto IPv6, we just need to give the interface name here, not the subnet. The daemon is smart enough to latch onto the right subnet(s) here anyhow.
Merge pull request #201 from phil-davis/master

Bogons updated - make sure conf_mount_rw and conf_mount_ro are matched
Activate more Hash, DH, and PFS options that are available in racoon now. Note that SHA256-512 are RFC4868 compliant in FreeBSD, may break with other incompatible stacks.