Use the right user parameter.
authormarta <marta@8c455092-636d-4788-adf5-e71def0336e8>
Mon, 1 Mar 2010 14:17:51 +0000 (14:17 +0000)
committermarta <marta@8c455092-636d-4788-adf5-e71def0336e8>
Mon, 1 Mar 2010 14:17:51 +0000 (14:17 +0000)
planetlab/ipfwroot.spec

index cf766b9..8281d81 100644 (file)
@@ -65,8 +65,8 @@ install -D -m 644 planetlab/ipfw.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/ipfw
 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 root
+echo "super init" | /vsys/ipfw-be root
 
 %clean
 rm -rf $RPM_BUILD_ROOT