summaryrefslogtreecommitdiffstats
path: root/tools/templates/pkg-install.in
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-25 08:21:15 -0300
committerRenato Botelho <renato@netgate.com>2015-08-25 14:49:54 -0300
commit6f73c36226d8583b90ddcff50850701c06de2ee2 (patch)
treef040c4a5dfd77e9d14a8197f0c1e080c157fa2a5 /tools/templates/pkg-install.in
parent46bc6e545a17e77202aaf01ec0cd8d5a46567525 (diff)
downloadpfsense-6f73c36226d8583b90ddcff50850701c06de2ee2.zip
pfsense-6f73c36226d8583b90ddcff50850701c06de2ee2.tar.gz
Import build scripts from pfSense-tools repo
Diffstat (limited to 'tools/templates/pkg-install.in')
-rw-r--r--tools/templates/pkg-install.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/templates/pkg-install.in b/tools/templates/pkg-install.in
new file mode 100644
index 0000000..d9217e6
--- /dev/null
+++ b/tools/templates/pkg-install.in
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ "${2}" != "POST-INSTALL" ]; then
+ exit 0
+fi
+
+/usr/local/sbin/fcgicli -f /etc/rc.packages -d "pkg=%%PORTNAME%%&when=${2}"
OpenPOWER on IntegriCloud