head 1.12; access; symbols; locks; strict; comment @# @; 1.12 date 98.08.27.15.26.11; author alexis; state Exp; branches; next 1.11; 1.11 date 98.03.01.15.04.38; author alexis; state Exp; branches; next 1.10; 1.10 date 97.11.11.12.08.12; author alexis; state Exp; branches; next 1.9; 1.9 date 97.10.26.20.55.57; author alexis; state Exp; branches; next 1.8; 1.8 date 97.10.26.18.55.08; author alexis; state Exp; branches; next 1.7; 1.7 date 97.10.26.17.47.28; author alexis; state Exp; branches; next 1.6; 1.6 date 97.10.26.12.12.37; author alexis; state Exp; branches; next 1.5; 1.5 date 97.10.26.10.14.46; author alexis; state Exp; branches; next 1.4; 1.4 date 97.10.22.18.35.08; author alexis; state Exp; branches; next 1.3; 1.3 date 97.10.22.18.31.31; author alexis; state Exp; branches; next 1.2; 1.2 date 97.10.22.16.20.56; author alexis; state Exp; branches; next 1.1; 1.1 date 97.10.22.12.51.36; author alexis; state Exp; branches; next ; desc @@ 1.12 log @FSSDND compliance checks a few executables before starting @ text @#! /bin/sh # $Id: local-ppplc.in,v 1.11 1998/03/01 15:04:38 alexis Exp alexis $ PPPLCD=LCLSBINDIR_MARKER/ppplcd CONFIG=PRGCFGDIR_MARKER/ppplc.conf SNDMSG=LCLSBINDIR_MARKER/sndmsg VERSION="PATCHLEVEL_MARKER" PROGNAME=`basename $0` case "$1" in -V) echo "$PROGNAME version $VERSION" exit 0 ;; esac [ -x $PPPLCD ] || exit 0 [ -x $SNDMSG ] || exit 0 [ -r $CONFIG ] || exit 0 case "$1" in start) echo "Starting ppplcd" [ ! -r $CONFIG ] && { echo "$CONFIG: not found"; exit 1; } $PPPLCD $CONFIG > /dev/null 2>&1 ;; stop) echo "Stopping ppplcd" $SNDMSG 3 2>/dev/null ;; *) echo "Usage: $PROGNAME { start | stop }" exit 1 ;; esac exit 0 @ 1.11 log @moved ppplcd and sndmsg from bin to sbin removed refs to PPPLC.*MARKER @ text @d3 1 a3 1 # $Id: local-ppplc.in,v 1.10 1997/11/11 12:08:12 alexis Exp alexis $ d6 1 a6 1 CONFIG=PRGCFGDIR_MARKER/ppplc.cfg d19 3 a21 1 [ ! -x $PPPLCD ] && exit 0 @ 1.10 log @redirecting ppplcd startup to /dev/null (ensures messages go to syslog and subprocess IO soaked up. @ text @d3 1 a3 1 # $Id: local-ppplc.in,v 1.9 1997/10/26 20:55:57 alexis Exp $ d5 3 a7 3 PPPLCD=LCLBINDIR_MARKER/ppplcd CONFIG=PPPLCCFGDIR_MARKER/ppplc.cfg SNDMSG=LCLBINDIR_MARKER/sndmsg @ 1.9 log @more directory changes @ text @d3 1 a3 1 # $Id: local-ppplc.in,v 1.8 1997/10/26 18:55:08 alexis Exp alexis $ d25 1 a25 1 $PPPLCD $CONFIG @ 1.8 log @continued directory reorganisation @ text @d3 1 a3 1 # $Id: local-ppplc.in,v 1.7 1997/10/26 17:47:28 alexis Exp alexis $ d6 1 a6 1 CONFIG=PPPLCDCFGDIR_MARKER/ppplc.cfg @ 1.7 log @directory reorganisation @ text @d3 1 a3 1 # $Id: local-ppplc.in,v 1.6 1997/10/26 12:12:37 alexis Exp alexis $ d6 1 a6 1 CONFIG=PPPLCDCFGDIR_MARKER/`hostname`.cfg @ 1.6 log @stamped for release 1.0.6 @ text @d3 1 a3 1 # $Id: local-ppplc.in,v 1.5 1997/10/26 10:14:46 alexis Exp alexis $ d5 3 a7 3 PPPLCD=LCLSBINDIR_MARKER/ppplcd CONFIG=LCLETCDIR_MARKER/ppplc/`hostname`.cfg SNDMSG=LCLSBINDIR_MARKER/sndmsg @ 1.5 log @step @ text @d3 1 a3 1 # $Id: local-ppplc.in,v 1.4 1997/10/22 18:35:08 alexis Exp alexis $ @ 1.4 log @*** empty log message *** @ text @d3 1 a3 1 # $Id: local-ppplc.in,v 1.3 1997/10/22 18:31:31 alexis Exp alexis $ d5 3 a7 3 PPPLCD=SBINDIR_MARKER/ppplcd CONFIG=MY_ETCDIR_MARKER/`hostname`.cfg SNDMSG=SBINDIR_MARKER/sndmsg @ 1.3 log @*** empty log message *** @ text @d3 1 a3 1 # $Id: local-ppplc.in,v 1.2 1997/10/22 16:20:56 alexis Exp alexis $ d24 1 a24 1 [ ! -x $CONFIG ] && { echo "$CONFIG: not found"; exit 1; } @ 1.2 log @markers changed text @ text @d3 1 a3 1 # $Id: local-ppplc.in,v 1.1 1997/10/22 12:51:36 alexis Exp alexis $ a19 1 [ ! -x $CONFIG ] && exit 0 d24 1 a24 1 PPPLCD=/home/da/alexis/dev/ppplc/ppplcd @ 1.1 log @Initial revision @ text @d3 1 a3 1 # $Id$ d5 3 a7 3 PPPLCD=SBINDIR/ppplcd CONFIG=ETCDIR/`hostname`.cfg SNDMSG=SBINDIR/sndmsg @