Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/accounting
| Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | accounting_rotate_log() | ||||
| if checkyesno accounting_enable; then | if checkyesno accounting_enable; then | ||||
| create_accounting_file | create_accounting_file | ||||
| ${accounting_command} "${accounting_file}" | ${accounting_command} "${accounting_file}" | ||||
| fi | fi | ||||
| } | } | ||||
| load_rc_config $name | load_rc_config $name | ||||
| # doesn't make sense to run in a svcj: jail can't manipulate accounting | |||||
| accounting_svcj="NO" | |||||
| run_rc_command "$1" | run_rc_command "$1" | ||||