Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 freeradius 上触发会计临时更新,然后执行一个脚本来计算与特定用户相关的总数据量使用情况。谁能帮我举个例子?
谢谢
当然这很简单
将下面会计块的内容放入raddb/sites-available/default并根据需要进行修改。
raddb/sites-available/default
accounting { if (Acct-Status-Type == 'Interim-Update') { update request { Tmp-Integer-0 := `/path/to/my/script.sh %{Acct-Input-Octets} %{Acct-Output-Octets} %{Acct-Session-Time}` } } }
I'm using Spring 3.1.1.RELEASE. I'm having difficulty binding a List property of my model to a form:checkboxes element upon form submission. In my model I have<