rc: move rc back to /usr/local

We use grep and awk for early automation.  Deal with this later.
This commit is contained in:
Franco Fichtner 2018-10-28 08:08:04 +01:00
parent 7e3ffaa436
commit 6c952d0ee7
3 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ cp /etc/rc /etc/rc.bak
cat > /etc/rc <<EOF
#!/bin/sh
# OPNsense rc(8) hook was automatically installed:
if [ -f /etc/rc.opnsense ]; then exec /etc/rc.opnsense; fi
if [ -f /usr/local/etc/rc ]; then exec /usr/local/etc/rc; fi
EOF
cat /etc/rc.bak >> /etc/rc
rm -f /etc/rc.bak

2
plist
View File

@ -1,6 +1,5 @@
/boot/brand-opnsense.4th
/boot/logo-hourglass.4th
/etc/rc.opnsense
/usr/local/etc/devd/carp.conf
/usr/local/etc/devd/ifnet.conf
/usr/local/etc/dh-parameters.2048.rfc7919
@ -76,6 +75,7 @@
/usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20171219
/usr/local/etc/pkg/fingerprints/OPNsense/trusted/opnsense-update.deciso.com.20180627
/usr/local/etc/pkg/fingerprints/OPNsense/trusted/pkg.opnsense.org.20180614
/usr/local/etc/rc
/usr/local/etc/rc.bootup
/usr/local/etc/rc.configure_firmware
/usr/local/etc/rc.configure_interface