home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 9.ddi / usr / lib / acct / startup < prev    next >
Encoding:
Text File  |  1990-12-08  |  703 b   |  23 lines

  1. #!/sbin/sh
  2. #    Copyright (c) 1990 UNIX System Laboratories, Inc.
  3. #    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T
  4. #      All Rights Reserved
  5.  
  6. #    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF
  7. #    UNIX System Laboratories, Inc.
  8. #    The copyright notice above does not evidence any
  9. #    actual or intended publication of such source code.
  10.  
  11.  
  12.  
  13. #ident    "@(#)/usr/lib/acct/startup.sl 1.1 4.0 12/08/90 8899 AT&T-USL"
  14. #    "startup (acct) - should be called from /etc/rc"
  15. #    "whenever system is brought up"
  16. PATH=/usr/lib/acct:/usr/bin:/usr/sbin
  17. acctwtmp "acctg on" >>/var/wtmp
  18. turnacct on
  19. #    "clean up yesterdays accounting files"
  20. rm -f /var/adm/acct/sum/wtmp*
  21. rm -f /var/adm/acct/sum/pacct*
  22. rm -f /var/adm/acct/nite/lock*
  23.