mirror of
https://github.com/opnsense/core.git
synced 2026-05-28 04:34:51 -04:00
rc: move all template generation to early
It's unlikely the config.xml will change and backup scripts in early are going to need it anyway.
This commit is contained in:
parent
afcbdee036
commit
da690969c4
4 changed files with 5 additions and 10 deletions
2
plist
2
plist
|
|
@ -121,7 +121,7 @@
|
|||
/usr/local/etc/rc.syshook.d/carp/20-openvpn
|
||||
/usr/local/etc/rc.syshook.d/early/05-update
|
||||
/usr/local/etc/rc.syshook.d/early/10-configd
|
||||
/usr/local/etc/rc.syshook.d/early/15-php
|
||||
/usr/local/etc/rc.syshook.d/early/15-templates
|
||||
/usr/local/etc/rc.syshook.d/early/20-backup
|
||||
/usr/local/etc/rc.syshook.d/start/10-newwanip
|
||||
/usr/local/etc/rc.syshook.d/start/20-freebsd
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# php.ini is chained into this template, required by backend
|
||||
echo -n "Configuring PHP: "
|
||||
configctl template reload OPNsense/WebGui
|
||||
4
src/etc/rc.syshook.d/early/15-templates
Executable file
4
src/etc/rc.syshook.d/early/15-templates
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo -n "Generating configuration: "
|
||||
configctl template reload \*
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
# services need their configuration
|
||||
echo -n "Configuring additional services: "
|
||||
configctl template reload \*
|
||||
|
||||
# start up the configured services
|
||||
/usr/local/etc/rc.freebsd start
|
||||
|
|
|
|||
Loading…
Reference in a new issue