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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/rc') diff --git a/etc/rc b/etc/rc index 5b13aa5..94a726b 100755 --- a/etc/rc +++ b/etc/rc @@ -41,7 +41,7 @@ if [ "$PLATFORM" = "pfSense" ]; then mdmfs -S -M -s 4m md /var/run fi -product=`cat /etc/inc/globals.inc | grep product_name | cut -d'"' -f4` +product=`echo '' | /usr/local/bin/php -q` hideplatform=`cat /etc/inc/globals.inc | grep hideplatform | wc -l` if [ "$hideplatform" -gt "0" ]; then -- cgit v1.1