summaryrefslogtreecommitdiffstats
path: root/tools/templates
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-05-31 11:29:12 -0300
committerRenato Botelho <renato@netgate.com>2016-05-31 11:29:12 -0300
commit815e8c8fb5f027cf1e38a790b425f9960b2ea9a7 (patch)
tree3a24c9d3b64f72ba31c0567b3b4e86a39f5997dd /tools/templates
parent1ed24ef30bd989c38f87ee788d4f97d3e0b3a52e (diff)
downloadpfsense-815e8c8fb5f027cf1e38a790b425f9960b2ea9a7.zip
pfsense-815e8c8fb5f027cf1e38a790b425f9960b2ea9a7.tar.gz
Add /etc/rc.initial to pfSense-rc package and use @shell entry in PLIST to get it properly added to /etc/shells
Diffstat (limited to 'tools/templates')
-rw-r--r--tools/templates/core_pkg/rc/metadir/+DESC2
-rw-r--r--tools/templates/core_pkg/rc/metadir/+MANIFEST2
-rw-r--r--tools/templates/core_pkg/rc/pkg-plist1
3 files changed, 3 insertions, 2 deletions
diff --git a/tools/templates/core_pkg/rc/metadir/+DESC b/tools/templates/core_pkg/rc/metadir/+DESC
index 18e12fe..cfdc21e 100644
--- a/tools/templates/core_pkg/rc/metadir/+DESC
+++ b/tools/templates/core_pkg/rc/metadir/+DESC
@@ -1,3 +1,3 @@
-%%PRODUCT_NAME%% rc script
+%%PRODUCT_NAME%% rc script and rc.initial shell
WWW: %%PRODUCT_URL%%
diff --git a/tools/templates/core_pkg/rc/metadir/+MANIFEST b/tools/templates/core_pkg/rc/metadir/+MANIFEST
index 4c8595d..f42208a 100644
--- a/tools/templates/core_pkg/rc/metadir/+MANIFEST
+++ b/tools/templates/core_pkg/rc/metadir/+MANIFEST
@@ -2,7 +2,7 @@ name: "%%PRODUCT_NAME%%-rc"
version: "%%VERSION%%"
origin: "security/%%PRODUCT_NAME%%-rc"
comment: <<EOD
-%%PRODUCT_NAME%% rc script
+%%PRODUCT_NAME%% rc script and rc.initial shell
EOD
maintainer: development@pfsense.org
prefix: /
diff --git a/tools/templates/core_pkg/rc/pkg-plist b/tools/templates/core_pkg/rc/pkg-plist
index 3cdb92d..0b65363 100644
--- a/tools/templates/core_pkg/rc/pkg-plist
+++ b/tools/templates/core_pkg/rc/pkg-plist
@@ -1 +1,2 @@
/etc/rc
+@shell /etc/rc.initial
OpenPOWER on IntegriCloud