> if [ `tty` = "/dev/tty1" ]; then A typo -- a single = is used to assign values, not compare them. The script should use ==, thusly:
if [ `tty` == "/dev/tty1" ]; then -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]