From 80f10be21aba134c207e79f73cf16096dba6bcfa Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 16 Feb 2016 09:55:37 -0200 Subject: Use PHP CLI explicitly to run rc.conf_mount_r(w|o) from pfSense-upgrade, it fixes #5875 --- src/usr/local/sbin/pfSense-upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.1