modems-allow

Date: Thu, 1 Oct 1998 13:51:08 -0300 (ADT)
From: David Potter <potter@csuite.ns.ca>
To: CSUITE-TECH ML <csuite-tech@chebucto.ns.ca>
Precedence: bulk
Return-Path: <csuite-tech-mml-owner@chebucto.ns.ca>

next message in archive
no next message in thread
previous message in archive
Index of Subjects



# code that was inserted near the top of $CS_ROOT/bin/shell

clear
tty=`/usr/bin/tty `
tty="${tty#/dev/}"
tty="${tty%/??}"
t_ty=`/usr/bin/tty `; /csuite/bin/modems-allow; 
if [ "$?" != "1" ]; then  
echo "Allowed modem: $t_ty">>/tmp/allowed-modems 
else
if [ $tty == "sts" ]; then
cat <<EOM

Message goes here - temporarily unavailable?

EOM
sleep 10
exit 
fi

# end code that was inserted in $CS_ROOT/bin/shell


next message in archive
no next message in thread
previous message in archive
Index of Subjects