summaryrefslogtreecommitdiffstats
path: root/tmp
diff options
context:
space:
mode:
Diffstat (limited to 'tmp')
-rwxr-xr-xtmp/post_upgrade_command.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmp/post_upgrade_command.php b/tmp/post_upgrade_command.php
index fded5dd..fdb1f3c 100755
--- a/tmp/post_upgrade_command.php
+++ b/tmp/post_upgrade_command.php
@@ -19,8 +19,8 @@
}
$newslicedir = "";
- if ($ARGV[1] != "")
- $newslicedir = '/tmp/' . $ARGV[1];
+ if ($argv[1] != "")
+ $newslicedir = '/tmp/' . $argv[1];
system("echo \"Adding serial port settings ({$newslicedir})...\" >> /conf/upgrade_log.txt");
setup_serial_port("upgrade", $newslicedir);
OpenPOWER on IntegriCloud