summaryrefslogtreecommitdiffstats
path: root/tools/templates
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-10-13 14:52:31 -0300
committerRenato Botelho <renato@netgate.com>2015-10-13 14:52:31 -0300
commitfd401f7dd657a6f46243e1f8e3796e45e497704d (patch)
tree09f4b45c377c2579e14f61ad28c55d8083e55463 /tools/templates
parent4758017ec07eb9e50ee57f6e80d14c2795d331e0 (diff)
downloadpfsense-fd401f7dd657a6f46243e1f8e3796e45e497704d.zip
pfsense-fd401f7dd657a6f46243e1f8e3796e45e497704d.tar.gz
Do not depend of php-fpm to be running to process Additional Packages install/deinstall scripts, instead call php cli direct
Diffstat (limited to 'tools/templates')
-rw-r--r--tools/templates/pkg-deinstall.in2
-rw-r--r--tools/templates/pkg-install.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/templates/pkg-deinstall.in b/tools/templates/pkg-deinstall.in
index 0ea6111..83d1c3d 100644
--- a/tools/templates/pkg-deinstall.in
+++ b/tools/templates/pkg-deinstall.in
@@ -1,3 +1,3 @@
#!/bin/sh
-/usr/local/sbin/fcgicli -f /etc/rc.packages -d "pkg=%%PORTNAME%%&when=${2}"
+/usr/local/bin/php -f /etc/rc.packages %%PORTNAME%% ${2}
diff --git a/tools/templates/pkg-install.in b/tools/templates/pkg-install.in
index d9217e6..25b1886 100644
--- a/tools/templates/pkg-install.in
+++ b/tools/templates/pkg-install.in
@@ -4,4 +4,4 @@ if [ "${2}" != "POST-INSTALL" ]; then
exit 0
fi
-/usr/local/sbin/fcgicli -f /etc/rc.packages -d "pkg=%%PORTNAME%%&when=${2}"
+/usr/local/bin/php -f /etc/rc.packages %%PORTNAME%% ${2}
OpenPOWER on IntegriCloud