head 1.13; access; symbols; locks; strict; comment @# @; 1.13 date 98.08.28.17.41.13; author alexis; state Exp; branches; next 1.12; 1.12 date 98.08.28.13.41.11; author alexis; state Exp; branches; next ; desc @SHPP PORT OF ip-down.in 1.11 @ 1.13 log @removed version number tests @ text @#!SCRIPTSHELLCMD_MARKER PROGNAME=`basename $0` # $Id: ip-down.shpp,v 1.12 1998/08/28 13:41:11 alexis Exp alexis $ VERSION="PATCHLEVEL_MARKER" main() { while [ "X$1" != X ]; do case "$1" in -V) echo "$PROGNAME version $VERSION" exit 0 ;; -d) [ "X$2" = X ] && usage VERBOSE_LEVEL=$2 shift ;; -v) VERBOSE_LEVEL=3 ;; -*) usage ;; *) break ;; esac shift done exec LCLSBINDIR_MARKER/sndmsg 23 } usage() { { echo "Usage: $PROGNAME [ -d | -v ] " echo " $PROGNAME -V" } >&2 exit 2 } #shpp include utils.sh @ 1.12 log @*** empty log message *** @ text @d3 1 a3 1 # $Id: ip-down.in,v 1.11 1998/03/01 22:28:35 alexis Exp alexis $ d10 2 a11 7 -V) if expr "$VERSION" : 'P.*R$' > /dev/null; then warning "this is a development version; use 'ident' for version information" exit 1 else echo "$PROGNAME version $VERSION" exit 0 fi ;; @