missingArgNFS()
{
    /bin/echo "Missing argument in call to $1, not doing NFS, - $2 unchanged."
}

couldntAppendNFS()
{
    /bin/echo "Couldn't append to $1, - $1 unchanged."
}

lineAppendedNFS()
{
    /bin/echo "line appended to $1."
}

alreadyExported()
{
    /bin/echo "filesystem $1 already exported to $2, $3 unchanged"
    /bin/echo ""
}

tooLongNFS()
{
    /bin/echo "$1 line in $2 seems too long, please update manually."
}

tooDumbNFS()
{
    /bin/echo""
    /bin/echo "It appears that $1 could be added to the following line in $2:"
    sed -n "${3}p" $2
    /bin/echo "but this script is not smart enough to edit it."
    /bin/echo "Please edit $2 manually."
    /bin/echo ""
}

copyNFS()
{
    /bin/echo "a copy of file $1 has been saved in $2"
}

couldntCopy()
{
    /bin/echo "Couldn't copy $1 to $2"
}

fileNotExist()
{
    /bin/echo "file/directory $1 doesn't exist."
}

noMountPoint()
{
    /bin/echo "Can't find the mount point of the filesystem for $1"
}

nonLocalMountPoint()
{
    /bin/echo "File/directory $1 is not located on a locally mounted"
    /bin/echo "disk drive on machine `hostname`"
}


addedNFS()
{
    /bin/echo "$1 has been added to $2"
}


exportFS()
{
    /bin/echo "\"exportfs -a\" failed ($1). Couldn't export $2 to $3"
}

noFile()
{
    /bin/echo "File $1 not found"
}

sedNFS()
{
    /bin/echo "sed failed (1) while updating $1"
}

tooDumbRemoveNFS()
{
    /bin/echo ""
    /bin/echo "There is an entry for $1 in $2 for $3,"
    /bin/echo "but this script is not smart enough to remove it."
    /bin/echo "Please edit $2 manually." 
    /bin/echo "" 
}

removedNFS()
{
    /bin/echo "$1 removed from $2"
    /bin/echo ""
}

bootpRemoved()
{
    /bin/echo "Removed existing entry for $1 from $2"
}

modBootp()
{
    /bin/echo "Modification of $1 failed"
}

bootpAdded()
{
    /bin/echo "$1 added to $2"
}

tftpUser()
{
    /bin/echo "Unable to add TFTP user"
}

tftpInetdLine()
{
    /bin/echo "Unable to add TFTP inetd.conf line"
}

notWritable()
{
    /bin/echo "File $1 is not writable or non-existant"
}

alreadyStarted()
{
    /bin/echo "$1 service has previously been started"
}

startedService()
{
    /bin/echo "$1 service started"
}

unsupported()
{
    /bin/echo "Unsupported Feature: $*"
}

runLevel()
{
    /bin/echo "$INITDEFAULT run level is $2, but it should be $1"
}

alreadyInTable()
{
    /bin/echo "An entry for $1 already exists in $2"
}

addInetdLine()
{
    /bin/echo "Added an entry for $1 to $INETDCONF"
}

failedInetdLine()
{
    /bin/echo "Failed to add an entry for $1 to $INETDCONF"
}

addHostsUsage()
{
    /bin/echo "Usage: $1 name ip-address [ADD|DELETE]"
}

notAuthoritative()
{
    /bin/echo "Name Server $2 not authoritative for $1"
}

set -u
$*


 