#!/bin/sh
# Set up a user for discuss.

SERVER="__SERVER__"

if [ -f ~/.meetings ]; then
    if [ $# = 0 ]; then
	echo "You have a .meetings file.  You don't need to run this."
    fi
    exit 0
fi

if [ $# = 0 ]; then
    echo "Creating .meetings file."
fi
cat > ~/.meetings << _EOF_
0:0:0:${SERVER}:/usr/spool/discuss/new_meetings:New_meetings,new_meetings:
0:0:0:${SERVER}:/usr/spool/discuss/eve:Everybody,eve:
_EOF_

exit 0
