Remove unused clutter, move the rest to /usr/local/sbin, because
these are system administration scripts, not for entertainment of
the individual users.
* Renamed pfsense-utils.inc to legacy.inc, which can cause issues
on git auto-mount developer machines. Be wary.
* Removed '/usr/local/www/' prefix from require statements that
should never use absolute paths (unless you are never going to
move files, but we already did...).
* Remove an unhealthy function that wrote arbitrary PHP files and then
style checked them, twice.
* The usual license cleanups so that the headers are easy to read
and actually make you want to see the rest of the file because of it.
* Code style, indent and obvious bug fix (missed unlock in return path).
It's been confusing to say the least, resulting in multiple
misuses throughout the code. The idea was that /cf pointed
to a read-write root, while / pointed to read-only root.
For non-embedded images this was emulated by linking
/conf -> /cf/conf, which, is a bit questionable because now
you can write from /conf as well and don't have to use /cf/conf
at all.
A couple of lines are left in /usr/local/etc/rc which need to
be reviewed so that migration paths are safe for all types
of firmware upgrades.
Make "src" the implicit "/usr/local" so that nobody can
sneak in weird files in the base file system or potentially
overwrite them.
This is the last time, I swear... :)