Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
os-boot-delay, but 120 seconds or more?
« previous
next »
Print
Pages: [
1
]
Author
Topic: os-boot-delay, but 120 seconds or more? (Read 1444 times)
NetGobbler
Jr. Member
Posts: 71
Karma: 2
os-boot-delay, but 120 seconds or more?
«
on:
March 29, 2022, 05:06:17 am »
Does anyone know how to impliment a boot delay for opnsense but in excess of at least 60 seconds.
I lose power a lot at home (working on this) but if my modem, wifiap and opnsense all boot at the same time (power restored) I have no internet.
If I shut it off on its own, reboot it a few minutes after modem is up, all is good.
So a boot delay would be very handy for me.
Logged
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: os-boot-delay, but 120 seconds or more?
«
Reply #1 on:
March 29, 2022, 07:43:40 am »
wouldn't you be better off with a UPS? Your filesystem is going to get corrupted from sudden power cuts without a graceful shutdown.
Bart...
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: os-boot-delay, but 120 seconds or more?
«
Reply #2 on:
March 29, 2022, 08:43:25 am »
os-boot-delay emulates an ancient requirement... I think specifically for older PCEngines hardware.
Basically it sets the following tunable: kern.cam.boot_delay="10000"
But you can always deinstall it and add "kern.cam.boot_delay" with a value of the required milliseconds to delay boot from the GUI nowadays.
That being said the plugin should probably be retired in 22.7.
Cheers,
Franco
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: os-boot-delay, but 120 seconds or more?
«
Reply #3 on:
March 31, 2022, 01:14:03 pm »
@franco as far as I can remember it was for some old flash storages that were not ready when the system tried to boot.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
os-boot-delay, but 120 seconds or more?