I solved this, not by monit or cron job, but making a custom script in /usr/local/etc/rc.syshook.d/start
Named it 99-gatewayboot and made the file executable.
(99 to get it started as late as possible)
Now it is working and I have a fix for my Wireguard problem for now at reboot of OPNsense.
Code Select
#!/bin/sh
/usr/local/sbin/configctl interface routes alarm
Named it 99-gatewayboot and made the file executable.
(99 to get it started as late as possible)
Now it is working and I have a fix for my Wireguard problem for now at reboot of OPNsense.