#!/bin/sh box=$1 port=$2 usr=$3 pass=$4 if [ ! "$#" == "4" ]; then echo -e "\nYou did not supply enough command line arguments. \nUsage: ./check_axis.sh \n \nCheck_axis.sh checks the status of LPT ports on Axis print servers. \nIt was written by Tom De Blende (tom.deblende@village.uunet.be) in 2002. \n" && exit "3" fi tempfile=/tmp/status-$box.tmp exit="3" ftp -in $box &>/dev/null <