summaryrefslogtreecommitdiffstats
path: root/src/usr/local/sbin
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-02-16 09:55:37 -0200
committerRenato Botelho <renato@netgate.com>2016-02-16 09:55:37 -0200
commit80f10be21aba134c207e79f73cf16096dba6bcfa (patch)
treed16a2c7237cf4621da9298de7ca828180f87de5e /src/usr/local/sbin
parent961884ae7d6cd4d5d49fe18915345ec88a8c9dfb (diff)
downloadpfsense-80f10be21aba134c207e79f73cf16096dba6bcfa.zip
pfsense-80f10be21aba134c207e79f73cf16096dba6bcfa.tar.gz
Use PHP CLI explicitly to run rc.conf_mount_r(w|o) from pfSense-upgrade, it fixes #5875
Diffstat (limited to 'src/usr/local/sbin')
-rwxr-xr-xsrc/usr/local/sbin/pfSense-upgrade4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/sbin/pfSense-upgrade b/src/usr/local/sbin/pfSense-upgrade
index 1d1c534..5d90748 100755
--- a/src/usr/local/sbin/pfSense-upgrade
+++ b/src/usr/local/sbin/pfSense-upgrade
@@ -137,7 +137,7 @@ _exit() {
fi
if [ -z "${booting}" -o "${boot_stage}" != "2" ]; then
- /etc/rc.conf_mount_ro
+ /usr/local/bin/php /etc/rc.conf_mount_ro
fi
if [ -n "${nc_pid}" ] && ps -p ${nc_pid} >/dev/null 2>&1; then
@@ -826,7 +826,7 @@ if pgrep -qF ${pid_file} >/dev/null 2>&1; then
fi
if [ -z "${booting}" -o "${boot_stage}" != "2" ]; then
- /etc/rc.conf_mount_rw
+ /usr/local/bin/php /etc/rc.conf_mount_rw
fi
if [ -n "${booting}" ]; then
OpenPOWER on IntegriCloud