summaryrefslogtreecommitdiffstats
path: root/etc/rc.shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.shutdown')
-rwxr-xr-xetc/rc.shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.shutdown b/etc/rc.shutdown
index f6175b4..2dd233c 100755
--- a/etc/rc.shutdown
+++ b/etc/rc.shutdown
@@ -9,7 +9,7 @@ if [ -e /dev/ukbd0 ]; then
/usr/sbin/vidcontrol -s 2
fi
-product=`cat /etc/inc/globals.inc | grep product_name | cut -d'"' -f4`
+product=`echo '<? include("/etc/inc/globals.inc"); die($g["product_name"]); ?>' | /usr/local/bin/php -q`
echo
echo "${product} is now shutting down ..."
OpenPOWER on IntegriCloud