Commit Graph

21 Commits

Author SHA1 Message Date
Phil Davis
ce77a9c4bd Fix lineup of copyright lines
and module names and other bits of formatting and typos in header
comment sections.
2015-01-01 15:11:15 +05:45
Renato Botelho
ed2d13436a Welcome 2015 2014-12-31 16:22:00 -02:00
Jim Thompson
29aef6c45b Change copyright statement to reflect reality 2014-11-10 23:36:14 -06:00
Renato Botelho
971de1f98a Convert almost all /sbin/sysctl calls to php functions 2014-07-07 20:06:37 -03:00
Renato Botelho
873c1701a8 Add escapeshellarg() calls on exec parameters. While I'm here, replace some exec() calls by php functions like symlink, copy, unlink, mkdir 2014-02-04 12:34:41 -02:00
Renato Botelho
774aedf090 Ignore swap partitions when looking for external config file 2013-02-25 10:38:46 -03:00
smos
f7eb043c8e Use require_once() prevent declaration errors.
Fixes redmine ticket #2502
2012-06-17 21:35:42 +02:00
smos
cfbfd9412b 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
2012-01-19 20:33:41 +01:00
Chris Buechler
de7222fbf0 correctly unmount drives where a config doesn't exist 2011-04-21 20:31:14 -04:00
Scott Ullrich
84cf0b3ebf Use exec() 2010-11-28 19:55:35 -05:00
Scott Ullrich
690d24af8c Add pfSsh.php externalconfiglocator playback script 2010-11-28 19:04:34 -05:00
Scott Ullrich
8850a528f9 Nuke newline 2010-11-28 18:10:37 -05:00
Scott Ullrich
c58b5f44ea Skip slices on bootup device 2010-11-28 18:05:53 -05:00
Scott Ullrich
70bea648be Cleanup 2010-11-28 17:34:47 -05:00
Scott Ullrich
b3405363b9 Use product name 2010-11-28 17:30:18 -05:00
Scott Ullrich
651a686774 Use head binary and eliminate a pipe to avoid broken pipe warning 2010-11-28 17:17:21 -05:00
Scott Ullrich
6edc4c0c5c Fix misc errors. File now restores and throws an alert when completed. 2010-11-28 16:59:59 -05:00
Scott Ullrich
a620ea3634 Add php header 2010-11-28 16:23:28 -05:00
Scott Ullrich
58ba038ae5 Handle slices 2010-11-28 14:26:50 -05:00
Scott Ullrich
46dd9586f2 Only check / and /config for config.xml. Otherwise you might step on a nanobsd installation. 2010-11-28 14:13:23 -05:00
Scott Ullrich
206f684d91 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() 2010-11-28 14:03:51 -05:00