From 0d8f57f3161b317c4c295d8eedb74567656d189b Mon Sep 17 00:00:00 2001 From: Stephan de Wit Date: Fri, 7 Mar 2025 08:41:41 +0100 Subject: [PATCH] ipfw: silence rc output if module not loaded --- src/opnsense/service/conf/actions.d/actions_ipfw.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opnsense/service/conf/actions.d/actions_ipfw.conf b/src/opnsense/service/conf/actions.d/actions_ipfw.conf index a920d7d0f..caf22beb8 100644 --- a/src/opnsense/service/conf/actions.d/actions_ipfw.conf +++ b/src/opnsense/service/conf/actions.d/actions_ipfw.conf @@ -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