mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
fix for https://github.com/opnsense/core/issues/111 (leftover from php-fpm)
This commit is contained in:
parent
d429c2e1b8
commit
adacd4b6ed
@ -82,10 +82,6 @@ function handle_argument_group($iface, $argument2) {
|
||||
}
|
||||
|
||||
if (!file_exists("/var/run/booting")) {
|
||||
if (isset($_GET)) {
|
||||
if (!empty($_GET['interface']))
|
||||
handle_argument_group($_GET['interface'], $_GET['action']);
|
||||
} else {
|
||||
if ($argc < 3) {
|
||||
log_error("HOTPLUG event: The number of required parameters not passed!");
|
||||
exit;
|
||||
@ -105,5 +101,4 @@ if (!file_exists("/var/run/booting")) {
|
||||
if (!empty($interface)) {
|
||||
handle_argument_group($interface, $action);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user