#!/bin/sh # install installation script for netmasq version=3.4.3 cat << EoT You are now installing netmasq, provided that you have root access, have untarred all the files, and are in the archive directory named netmasq. It will create /sbin/netmasq, /etc/netmasq, and /usr/share/doc/netmasq-$version. By default, netmasq will only allow ssh connections. Be sure to log in at the console or from an ssh session before running netmasq for the first time--even if this is an upgrade. (Alternately you could allow other connections in /etc/netmasq/default.conf.) EoT if [ ! -f install ] then echo You must cd to the archive directory named netmasq to run install. exit fi if [ -d /etc/netmasq ] then cat </dev/null` do mv $file ${file}_pre_$version done cp -pr etc/* /etc/netmasq cat << EoT Be sure to read $doc/README EoT