Load the ipfw module after installation.
authormarta <marta@8c455092-636d-4788-adf5-e71def0336e8>
Mon, 1 Mar 2010 14:13:38 +0000 (14:13 +0000)
committermarta <marta@8c455092-636d-4788-adf5-e71def0336e8>
Mon, 1 Mar 2010 14:13:38 +0000 (14:13 +0000)
planetlab/ipfwroot.spec

index d7a947c..cf766b9 100644 (file)
@@ -62,11 +62,11 @@ install -D -m 644 planetlab/ipfw.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/ipfw
 
 %post
 # load the module
 
 %post
 # load the module
-##depmod -a
-##modprobe ipfw_mod
+depmod -a
+modprobe ipfw_mod
 # clean the old database and initialize the firewall
 # 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
 
 %clean
 rm -rf $RPM_BUILD_ROOT