From 07881462254d007cf77c1a5b09e7a840f708657e Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 3 Aug 2009 16:52:51 -0300 Subject: Use php to detect product name on shell scripts --- etc/rc.shutdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/rc.shutdown') 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 '' | /usr/local/bin/php -q` echo echo "${product} is now shutting down ..." -- cgit v1.1