#!/bin/sh
# $Id: install.audlog,v 1.2 1998/01/26 11:57:48 ek Exp $
# Install script for auditor
INSTALL=install
CHOWN=chown
CHGRP=chgrp
CHMOD=chmod
MKDIR=mkdir
ECHO=echo
DESTDIR=/usr/local/bin
AUDDIR=/audit
MANDIR=/usr/local/man
MANOWNER=root

#
# MAN PAGES 
#
${ECHO} installing audlog
${INSTALL} -g audlog -o root -m 550 -s ./audlog ${DESTDIR} 
${INSTALL} -o ${MANOWNER} -m 644 audlog.8 ${MANDIR}/man8

#
# /Audit directory
#
${MKDIR} ${AUDDIR} 
${CHOWN} root ${AUDDIR} 
${CHGRP} audlog ${AUDDIR} 
${CHMOD} 770 ${AUDDIR} 
${CHMOD} g+s ${AUDDIR} 
${ECHO} done
