The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.Replacing it surpresses all the warnings
correctly unmount drives where a config doesn't exist
Use exec()
Add pfSsh.php externalconfiglocator playback script
Nuke newline
Skip slices on bootup device
Cleanup
Use product name
Use head binary and eliminate a pipe to avoid broken pipe warning
Fix misc errors. File now restores and throws an alert when completed.
Add php header
Handle slices
Only check / and /config for config.xml. Otherwise you might step on a nanobsd installation.
Adding external configuration loader which will look on all found disks except bootup disk for config.xml. If tconfig.xml is found on an external disk then it tests the roobobj to ensure its a valid file then calls test_config() to ensure it is a valid xml file. Once the file is validated a backup_config() is called to backup the current configuration and finally the file is installed using restore_backup()