Modify the rctl rc script to add multiple rules in a single run.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
trasz 2015-12-01 16:42:39 +00:00
parent c4e0d88628
commit 6fb3a1e897

View File

@ -23,10 +23,10 @@ rctl_start()
\#*|'')
;;
*)
rctl -a "${var}"
echo "${var}"
;;
esac
done < ${rctl_rules}
done < ${rctl_rules} | xargs rctl -a
fi
}