summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-xetc/rc.linkup5
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);
}
+}
?>
OpenPOWER on IntegriCloud