summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware_auto
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.firmware_auto')
-rwxr-xr-xetc/rc.firmware_auto2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.firmware_auto b/etc/rc.firmware_auto
index 6dab193..be5da91 100755
--- a/etc/rc.firmware_auto
+++ b/etc/rc.firmware_auto
@@ -6,7 +6,7 @@ FMBASEURL=$1
FMFILENAME=$2
FETCHFILENAME=$1/$2
-product=`echo '<? include("/etc/inc/globals.inc"); die($g["product_name"]); ?>' | /usr/local/bin/php -q`
+product=`cat /etc/inc/globals.inc | grep product_name | cut -d'"' -f4`
# wait 5 seconds before beginning
sleep 5
OpenPOWER on IntegriCloud