aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-24 07:33:25 -0300
committerRenato Botelho <renato@netgate.com>2015-08-24 07:33:25 -0300
commit3d8fac483386b2c31101063c53db4a5b499b92c8 (patch)
tree2d612c7ce354f7629a2ec424b8d45aa8ab3a4990 /config
parent21fd7e810b732289f207f1c3ee4566be30f75659 (diff)
downloadpfsense-packages-3d8fac483386b2c31101063c53db4a5b499b92c8.tar.gz
pfsense-packages-3d8fac483386b2c31101063c53db4a5b499b92c8.tar.bz2
pfsense-packages-3d8fac483386b2c31101063c53db4a5b499b92c8.zip
Remove php binary from command line, rc scripts have correct shebang lines and execute permissions
Diffstat (limited to 'config')
-rw-r--r--config/pfblockerng/pfblockerng.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/pfblockerng/pfblockerng.sh b/config/pfblockerng/pfblockerng.sh
index fcfbcae1..13e14760 100644
--- a/config/pfblockerng/pfblockerng.sh
+++ b/config/pfblockerng/pfblockerng.sh
@@ -81,7 +81,7 @@ DISK_NAME=`/bin/df /var/db/rrd | /usr/bin/tail -1 | /usr/bin/awk '{print $1;}'`
DISK_TYPE=`/usr/bin/basename ${DISK_NAME} | /usr/bin/cut -c1-2`
if [ "${PLATFORM}" != "pfSense" ] || [ ${USE_MFS_TMPVAR} -gt 0 ] || [ "${DISK_TYPE}" = "md" ]; then
- /usr/local/bin/php /etc/rc.conf_mount_rw >/dev/null 2>&1
+ /etc/rc.conf_mount_rw >/dev/null 2>&1
if [ ! -d $pfbdbdir ]; then mkdir $pfbdbdir; fi
if [ ! -d $pfsense_alias_dir ]; then mkdir $pfsense_alias_dir; fi
fi
@@ -104,7 +104,7 @@ if [ ! -d $tmpxlsx ]; then mkdir $tmpxlsx; fi
# Exit Function to set mount RO if required before Exiting
exitnow() {
if [ "${PLATFORM}" != "pfSense" ] || [ ${USE_MFS_TMPVAR} -gt 0 ] || [ "${DISK_TYPE}" = "md" ]; then
- /usr/local/bin/php /etc/rc.conf_mount_ro >/dev/null 2>&1
+ /etc/rc.conf_mount_ro >/dev/null 2>&1
fi
exit
}
@@ -975,4 +975,4 @@ case $1 in
exitnow
;;
esac
-exitnow \ No newline at end of file
+exitnow