#!/bin/csh
# This shell converts a fresh installed /etc to one that has symbolic links
# to all the /site files.   
# It does nothing about moving files from /etc/ to /etc/_/
# It also does nothing about EG 	ln -s hosts.equiv.internal hosts.equiv

exit 0	# Normally not commented out, to avoid running by mistake
exit 0 # It makes no sense to mkdir /domain/js.berklix.net
# This useless script was last run on FreeBSD-3.1
# but syntax may be worth salvaging.

#	cd /site
#	foreach i (`find . -type d`)
#		echo "Directory: $i"
#	        mkdir -p /$i
#	        end
#	foreach i (`find . -type f`)
#		echo "File: $i"
#		set aa = `echo $i | sed 's/.//'`
#		set cc = `dirname ${aa}`
#		set bb = `echo $cc | sed -e 's/\/[0-9A-Za-z._]*/\/../g'`
#		echo "mv ${aa} ${aa}.`uname -r`"
#		      mv ${aa} ${aa}.`uname -r`
#		echo "ln -s ${bb}/site${aa} ${aa}"
#		      ln -s ${bb}/site${aa} ${aa}
#	        echo  " "
#	        end

