|
|
1.1 root 1: #!/bin/sh
2: #
3: # This script was hacked together by Marc Evans ([email protected])
4: # I claim no copyright to it and don't really care what people do
5: # with it, hence, it is public domain. I take no responsibility for
6: # for happens if you use this script, providing no warentee. This
7: # section of the comments may be removed if you so desire.
8: #
9: # Usage:
10: # uutry [-x#] systemname
11: # where '-x#' has the value [0-9], higher values providing more detail
12:
13: #
14: # The following variables should be gropped from the configuration
15: # files rather then being hard coded here.
16: #
17: Spool=/usr/spool/uucp
18: Lib=/usr/lib/uucp
19: Status=$Spool/.Status
20: Debug=$Spool/Debug
21: Uucico=$lib/uucico
22: #
23: # Default option values
24: #
25: x="-x5"
26: s=""
27:
28: for i in $* ; do
29: case $i in
30: -x*) x="$i" ;;
31: *) s="$i" ;;
32: esac
33: done
34:
35: if [ $s != "" ]; then
36: rm -f $Status/$s
37: $Uucico -r1 $x -s$s &
38: >$Debug
39: tail -f $Debug
40: else
41: echo "Usage: uutry systemname"
42: exit 1
43: fi
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.