#!/bin/csh -f
#
# Network Installation Kit
#
# install.rc: install rc file
#
# Tom Coppeto
# MIT Network Group
# 17 September 1994
#
# Last Modified: 17 November 1995 by jyp
#

source $util/aliases

vecho "     setting up rc..."

if( ! -f /etc/rc.local) then
	vlog "     install.rc: no rc.local, hmmm... created one"
	cp /dev/null /etc/rc.local
endif

grep "/etc/athena/rc" /etc/rc.local > /dev/null
if($status) then
	vlog "     install.rc: adding stuff to rc.local"
	save /etc/rc.local
	echo "/etc/athena/rc"  >> /etc/rc.local
endif

vlog "     install.rc:  installing /etc/athena/rc"


install -c -m 755 $misc/rc /etc/athena/rc


