+ {
+ slice_id=$1;
+ type=$2;
+ port=$3;
+ timeout=$6;
+ if (now > timeout) {
+ # call the backend script to cleanup expired rules
+ command="echo delete " type " " port " | /vsys/ipfw-be ";
+ # grep for the username
+ command=command "`grep :" slice_id ": /etc/passwd | cut -d ':' -f 1`";
+ system(command);
+ cleaned++;
+ }