rob@mtdiablo.Concord.CA.US (Rob Bernardo) (08/16/90)
A while back I wrote that the CALLBACK feature in HoneyDanBer uucp (at
least under SUN OS 4.1) was failing. I wrote that when a remote system,
which is noted in the Permissions file as subject to CALLBACK, logs in
for uucp, my system did not create a C. file, which meant that if the
immediate call back failed for one or other reason, my system had no way
of keeping track that a call back was still due.
It turns out that uucico does create the C. file, but in the wrong directory!!
I use the following shell script, which I run under cron just prior to
uudemon.hour, to move any C. files to the proper directory.
uucpdir=/usr/spool/uucp
for system in `uuname`
do
shortname=`echo $system | sed -e 's/^\(.......\).*$/\1/'`
if [ -f $uucpdir/C.${shortname}* ]
then
mv $uucpdir/C.${shortname}* $uucpdir/$system
fi
done
--
Rob Bernardo, Mt. Diablo Software Solutions
"If the world were a logical place, men would ride sidesaddle." Rita Mae Brown
email: rob@mtdiablo.Concord.CA.US
phone: (415) 827-4301