mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Simply note the arguments passed to rc.linkup instead of exiting.
This commit is contained in:
parent
34d47cf510
commit
aac8957dbb
@ -42,11 +42,7 @@
|
||||
$processing = true;
|
||||
$counter = 1;
|
||||
while($processing == true) {
|
||||
if($argv[$counter] == "" or $argv[$counter] == "\n") {
|
||||
$argspassed = file_get_contents("/tmp/rc.linkup");
|
||||
log_error("Arguments passed incorrectly to rc.linkup. '{$argspassed}' Exiting.");
|
||||
exit;
|
||||
}
|
||||
log_error("Arguments passed rc.linkup. '{$argspassed}'");
|
||||
/* do not process nics twice */
|
||||
if (in_array($argv[$counter] . $argv[$counter+1], $processed_nics))
|
||||
continue;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user