mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
sysutils/boot-delay: this is neat...
So now that we have a non-persistent boot delay in our install images we may still have users that can't live without it so this plugin installs a persistent boot delay. The first boot will work, can bring up network and install! Yes, now you're saying this is stupid, which it it if you're not seeing the bigger picture. This paves the way for plugin- based optimisation for the following use case: https://github.com/opnsense/plugins/issues/9 Yes, yes, more work needs to be done but it's a start. :)
This commit is contained in:
parent
aba7aaa670
commit
7ccea3e5a2
4 changed files with 11 additions and 0 deletions
2
sysutils/boot-delay/+POST_DEINSTALL
Normal file
2
sysutils/boot-delay/+POST_DEINSTALL
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
echo "Reloading firmware configuration"
|
||||
/usr/local/etc/rc.configure_firmware
|
||||
2
sysutils/boot-delay/+POST_INSTALL
Normal file
2
sysutils/boot-delay/+POST_INSTALL
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
echo "Reloading firmware configuration"
|
||||
/usr/local/etc/rc.configure_firmware
|
||||
6
sysutils/boot-delay/Makefile
Normal file
6
sysutils/boot-delay/Makefile
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
PLUGIN_NAME= boot-delay
|
||||
PLUGIN_VERSION= 1.0
|
||||
PLUGIN_COMMENT= Apply a persistent boot delay
|
||||
PLUGIN_MAINTAINER= franco@opnsense.org
|
||||
|
||||
.include "../../Mk/plugins.mk"
|
||||
1
sysutils/boot-delay/src/etc/rc.loader.d/50-boot-delay
Normal file
1
sysutils/boot-delay/src/etc/rc.loader.d/50-boot-delay
Normal file
|
|
@ -0,0 +1 @@
|
|||
kern.cam.boot_delay="10000"
|
||||
Loading…
Reference in a new issue