summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-xetc/rc.linkup8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 83a4d4a..9313c9c 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -37,10 +37,10 @@
if($g['booting'] == true) {
/* ignore all linkup events */
} else {
- for ($i = 1; $i <= $ARGC; $i++) {
- $argspassed .= $ARGV[$i] . " ";
- $argument1 = $ARGV[$i];
- $argument2 = $ARGV[$i+1];
+ for ($i = 1; $i <= $_SERVER['argc']; $i++) {
+ $argspassed .= $_SERVER['argv'][$i] . " ";
+ $argument1 = $_SERVER['argv'][$i];
+ $argument2 = $_SERVER['argv'][$i+1];
handle_argument_group($argument1, $argument2);
}
}
OpenPOWER on IntegriCloud