Annotation of researchv10dc/cmd/uucp/unused/uukick, revision 1.1.1.1

1.1       root        1: 
                      2: #      This shell will start a uucico for the system given.
                      3: 
                      4: STATUS=/usr/spool/uucp/.Status
                      5: UUCICO=/usr/lib/uucp/uucico
                      6: 
                      7: X=""
                      8: SYS=
                      9: for arg
                     10: do
                     11:        case $arg in
                     12:        -x*) X=$arg;;
                     13:        *) SYS="$arg";;
                     14:        esac
                     15: done
                     16: if [ -z "$SYS" ]
                     17: then
                     18:        echo "$0:  system name required"
                     19:        exit 1
                     20: fi
                     21: 
                     22: #  use 7 character maximum name length (SYSNSIZE in uucp.h) for serach
                     23: SYSTEM=`echo $SYS | cut -c1-7`
                     24: 
                     25: #  check for existence in L.sys
                     26: XX=
                     27: XX=`uuname | grep $SYSTEM `
                     28: if [ -z "$XX" ]
                     29: then
                     30:        echo "Invalid system name \"$SYSTEM\""
                     31:        exit
                     32: fi
                     33: set $XX
                     34: FULLNAME=$1
                     35: for i
                     36: do
                     37:     if [ $i = $SYS ]; then
                     38:        FULLNAME=$SYS
                     39:        break
                     40:     fi
                     41: done
                     42: 
                     43: rm -f $STATUS/${FULLNAME}
                     44: 
                     45: $UUCICO  -r1 -s$FULLNAME &

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.