diff --git a/sysutils/boot-delay/+POST_DEINSTALL b/sysutils/boot-delay/+POST_DEINSTALL new file mode 100644 index 000000000..4ceb2dca3 --- /dev/null +++ b/sysutils/boot-delay/+POST_DEINSTALL @@ -0,0 +1,2 @@ +echo "Reloading firmware configuration" +/usr/local/etc/rc.configure_firmware diff --git a/sysutils/boot-delay/+POST_INSTALL b/sysutils/boot-delay/+POST_INSTALL new file mode 100644 index 000000000..4ceb2dca3 --- /dev/null +++ b/sysutils/boot-delay/+POST_INSTALL @@ -0,0 +1,2 @@ +echo "Reloading firmware configuration" +/usr/local/etc/rc.configure_firmware diff --git a/sysutils/boot-delay/Makefile b/sysutils/boot-delay/Makefile new file mode 100644 index 000000000..b870624a6 --- /dev/null +++ b/sysutils/boot-delay/Makefile @@ -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" diff --git a/sysutils/boot-delay/src/etc/rc.loader.d/50-boot-delay b/sysutils/boot-delay/src/etc/rc.loader.d/50-boot-delay new file mode 100644 index 000000000..cdf2a4196 --- /dev/null +++ b/sysutils/boot-delay/src/etc/rc.loader.d/50-boot-delay @@ -0,0 +1 @@ +kern.cam.boot_delay="10000"