Use the right user parameter.
[ipfw.git] / 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