psacct/accton-create
Troy Dawson ce45888018 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/psacct#48389e9d466a667bca0f508bfde0f7f07e616317
2020-10-14 16:33:55 -07:00

6 lines
109 B
Bash
Executable File

#!/bin/sh
ACCTFILE=/var/account/pacct
if [ ! -r $ACCTFILE ];then
touch $ACCTFILE && chmod 600 $ACCTFILE
fi