diff options
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-x | etc/rc.linkup | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup index 1994336..213dd92 100755 --- a/etc/rc.linkup +++ b/etc/rc.linkup @@ -84,6 +84,10 @@ function handle_argument_group($iface, $argument2) { global $g; if (!file_exists("{$g['varrun_path']}/booting") && empty($g['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; @@ -103,5 +107,6 @@ if (!file_exists("{$g['varrun_path']}/booting") && empty($g['booting'])) { if (!empty($interface)) handle_argument_group($interface, $action); } +} ?> |