#!/bin/sh if [ "$NET" = "" ] then echo "The variable NET must be set to where you want the " echo "KA9Q unix NET software to be installed." echo "If you are using /bin/sh use the command set NET xxxxx" echo "Where xxxxx is the directory path where the net software" echo "installed. If you are using /bin/csh use the command" echo " setenv NET xxxxx" echo "" exit 1 fi echo "The following directories and files will be created:" echo " $NET/bin where the program is" echo " $NET/public where transfer files are" echo " $NET/bin/net the program" echo " $NET/bin/net.debug the program debug version" echo " $NET/startup.net the startup file" echo " $NET/finger/n6xjj.txt a finger example file" echo " $NET/hosts.net the hosts file for so. cal." echo " $NET/ftpusers what users can ftp in" echo if [ ! -d "$NET/bin" ] then mkdir $NET/bin fi if [ ! -d "$NET/public" ] then mkdir $NET/public fi if [ ! -d "$NET/finger" ] then mkdir $NET/finger fi if [ ! -f "net.debug" ] then make depend fi make echo echo echo "Copying files into their correct locations" cp net.debug $NET/bin cp net $NET/bin cp n6xjj.txt $NET/finger cp startup.net $NET cp hosts.net $NET cp ftpusers $NET echo echo echo "The installation of KA9Q net software is complete" echo "Please edit the $NET/startup.net file for your configuration and" echo "Amateur call sign. Edit ftpusers for your group of users, and" echo "move $NET/finger/n6xjj.txt into $NET/finger/yourcallsign.txt." echo "Contact a packet person in your area for your current hosts.net" echo "file. " exit 0