diff options
author | jim-p <jimp@pfsense.org> | 2012-07-09 10:55:56 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-07-09 10:55:56 -0400 |
commit | d62a2f6cb3b7cf88533667fa01f5641b7ad8d55f (patch) | |
tree | 82a09df2b6c6058e9c68c888d8a2161aa799be65 /tmp | |
parent | 4af6167de19720e9c84da5520271200e346c23a5 (diff) | |
download | pfsense-d62a2f6cb3b7cf88533667fa01f5641b7ad8d55f.zip pfsense-d62a2f6cb3b7cf88533667fa01f5641b7ad8d55f.tar.gz |
Fix case, it's not ARGV it's argv for php
Diffstat (limited to 'tmp')
-rwxr-xr-x | tmp/post_upgrade_command.php | 4 |
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); |