head 1.3; access; symbols; locks; strict; comment @# @; 1.3 date 99.04.28.11.11.50; author alexis; state Exp; branches; next 1.2; 1.2 date 99.01.03.16.11.19; author alexis; state Exp; branches; next 1.1; 1.1 date 98.10.21.14.58.43; author alexis; state Exp; branches; next ; desc @IP-DOWN REPLACEMENT @ 1.3 log @included gep.sh.shpp included ../../bin/ppplc_msgids.shpp - which meant that sndmsg calls can now use shpp variables instead of explicit message id numbers @ text @#!MARKER_SHELL_CMD PROGNAME=`basename $0` # $Header: /diskb/home/alexis/dev/supported/ppplc/lib/ppp/RCS/ip-down.shpp,v 1.2 1999/01/03 16:11:19 alexis Exp alexis $ VERSION="MARKER_PATCHLEVEL" FACILITY=daemon #shpp include ../../bin/ppplc_msgids.shpp SNDMSG=MARKER_LCLBINDIR/sndmsg 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 $SNDMSG MARKER_MSGID_EXEC_IPDOWN } usage() { { echo "Usage: $PROGNAME [ -d | -v ] " echo " $PROGNAME -V" } >&2 exit 2 } #shpp include utils.sh.shpp #shpp include gep.sh.shpp @ 1.2 log @tidied corrected path to sndmsg changed utils.sh to utils.sh.shpp @ text @d3 1 a3 1 # $Header: ip-down.shpp,v 1.1 1998/10/21 14:58:43 alexis Exp alexis $ d6 2 d25 1 a25 1 exec MARKER_LCLBINDIR/sndmsg 23 d38 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 #!SCRIPTSHELLCMD_MARKER d3 3 a5 2 # $Id: ip-down.shpp,v 1.13 1998/08/28 17:41:13 alexis Exp $ VERSION="PATCHLEVEL_MARKER" d23 1 a23 1 exec LCLSBINDIR_MARKER/sndmsg 23 d35 1 a35 1 #shpp include utils.sh @