#!/bin/sh
# $Id: install.ssyslog,v 1.2 1998/01/26 11:57:49 ek Exp $
# Install script for ssyslogd
INSTALL=install
DESTDIR=/usr/local/etc
SSYDIR=/var/ssyslog
CHOWN=chown
CHGRP=chgrp
CHMOD=chmod
MKDIR=mkdir
ECHO=echo
MANDIR=/usr/local/man
MANOWNER=root

#
# Installation
#
${ECHO} installing
${INSTALL} -o root -m 550 ./ssyslogd ${DESTDIR} 
${INSTALL} -o ${MANOWNER} -m 644 ssyslogd.8 ${MANDIR}/man8
${INSTALL} -o ${MANOWNER} -m 644 syslog.conf.5 ${MANDIR}/man5
${INSTALL} -o ${MANOWNER} -m 644 ssyslog.5 ${MANDIR}/man5

#
# /var/ssyslog directory
#
${MKDIR} ${SSYDIR} 
${CHOWN} root ${SSYDIR} 
${CHMOD} 700 ${SSYDIR} 
${ECHO} done
${ECHO}
${ECHO} You should now edit /etc/rc*. 
