From 36cf4521fca4fe1d29f82683ab64da5071f5c310 Mon Sep 17 00:00:00 2001 From: marta Date: Mon, 1 Mar 2010 14:13:38 +0000 Subject: [PATCH] Load the ipfw module after installation. --- planetlab/ipfwroot.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/planetlab/ipfwroot.spec b/planetlab/ipfwroot.spec index d7a947c..cf766b9 100644 --- a/planetlab/ipfwroot.spec +++ b/planetlab/ipfwroot.spec @@ -62,11 +62,11 @@ install -D -m 644 planetlab/ipfw.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/ipfw %post # load the module -##depmod -a -##modprobe ipfw_mod +depmod -a +modprobe ipfw_mod # clean the old database and initialize the firewall -##echo "super dbcleanup" | /vsys/ipfw-be 0 -##echo "super init" | /vsys/ipfw-be 0 +echo "super dbcleanup" | /vsys/ipfw-be 0 +echo "super init" | /vsys/ipfw-be 0 %clean rm -rf $RPM_BUILD_ROOT -- 2.43.0