added some logic for future args
This commit is contained in:
@@ -10,6 +10,16 @@ require_once("system.inc");
|
||||
require_once('rrd.inc');
|
||||
require_once('plugins.inc.d/webgui.inc');
|
||||
|
||||
/*
|
||||
if (count($argv) > 1) {
|
||||
if (is_numeric($argv[1])) {
|
||||
# starting delayed
|
||||
sleep($argv[1]);
|
||||
} elseif ($argv[1] == 'renew') {
|
||||
webgui_create_selfsigned(true);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
# to get the $config, put file_put_contents('/root/config_php.log', print_r($config, true)); in the /usr/local/opnsense/scripts/shell/setaddr.php file
|
||||
|
||||
|
||||
Reference in New Issue
Block a user