medium priority: outdated script

Date: Wed, 12 Mar 1997 15:17:53 -0400
From: James Fifield <fifield@ug.cs.dal.ca>
To: csuite-dev@chebucto.ns.ca
cc: csuite-tech@chebucto.ns.ca
Precedence: bulk

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


We've come across a script in the distribution that is severly outdated.  
The $CS_ROOT/bin/subscribe script included in the distribution package 
will not work.  This script is called from: 

"http://$WEBHOST/Services/Volunteers/BecomeAVolunteer.html#joinlist"

to subscribe interested parties to the $SHORTNAME-volunteers mailing list.

Following is a replacement script, you'll have to edit it to incorporate it 
into your system.

### BEGIN $CS_ROOT/bin/subscribe

#! @@@NEW_BASH@@@

CS_ROOT=@@@CS_ROOT@@@
. $CS_ROOT/lib/cs-shlib

read_vars

PATH=$SYSPATH
export PATH

case "$ANONYMOUS" in
yes)    echo "You cannot use this facility unless you register."
        exit 1
        ;;
esac

echo -n $"
Do you want to subscribe to the mailing list $1 [Y]: "

read it
case "$it" in
  ""|[Yy]|yes|Yes)
        echo "OK"; /bin/sleep 2
        ;;
  *)
        echo "Not subscribed"; sleep 2; exit 0
        ;;
esac

$SENDMAIL -t <<EOF
To: majordomo@$MAILHOST

subscribe $1
EOF

### END subscribe script

--
James Fifield <fifield@ug.cs.dal.ca>
CSuite Installation Coordinator

 ** Fatal Error [1]: 'Win95' virus detected on /dev/hda1; Formatting ...


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