Lines Matching refs:accounting_file
16 accounting_file="/var/account/acct"
26 install -o root -g wheel -m 0640 /dev/null "${accounting_file}"
33 _dir="${accounting_file%/*}"
40 if [ ! -e "$accounting_file" ]; then
41 echo -n "Creating accounting file ${accounting_file}"
47 ${accounting_command} ${accounting_file}
63 if [ -e "${accounting_file}.0" ]; then
64 err 1 "Cannot rotate accounting log, ${accounting_file}.0 already exists."
67 if [ ! -e "${accounting_file}" ]; then
68 err 1 "Cannot rotate accounting log, ${accounting_file} does not exist."
71 mv ${accounting_file} ${accounting_file}.0
75 ${accounting_command} "${accounting_file}"