ipfw: silence rc output if module not loaded

This commit is contained in:
Stephan de Wit 2025-03-07 08:41:41 +01:00
parent cd23cfce17
commit 0d8f57f316

View File

@ -1,5 +1,5 @@
[reload]
command:/etc/rc.d/ipfw enabled && /etc/rc.d/ipfw start || /etc/rc.d/ipfw onestop; /usr/local/etc/rc.ipfw.postload
command:/etc/rc.d/ipfw enabled && /etc/rc.d/ipfw start || ( /etc/rc.d/ipfw onestop || true ); /usr/local/etc/rc.ipfw.postload || true
parameters:
type:script
message:restarting ipfw