diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2009-08-26 10:45:30 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2009-08-26 10:45:30 -0300 |
commit | 92a5e926f38d490ebd603da4ae002736007574cb (patch) | |
tree | 415ee0af56130f9b8132742b48c9af0088c227a1 /etc/rc | |
parent | 68e74187dfab4bc040ffb364248c780dfe3910b9 (diff) | |
download | pfsense-92a5e926f38d490ebd603da4ae002736007574cb.zip pfsense-92a5e926f38d490ebd603da4ae002736007574cb.tar.gz |
Revert "Use php to detect product name on shell scripts"
This reverts commit 07881462254d007cf77c1a5b09e7a840f708657e.
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ if [ "$PLATFORM" = "pfSense" ]; then mdmfs -S -M -s 4m md /var/run fi -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` hideplatform=`cat /etc/inc/globals.inc | grep hideplatform | wc -l` if [ "$hideplatform" -gt "0" ]; then |