Revision 11295,
752 bytes
checked in by ghudson, 27 years ago
(diff) |
/usr/spool -> /var/spool
|
Line | |
---|
1 | #!/bin/csh -f |
---|
2 | # Set up a user for discuss. |
---|
3 | # Writing this in C is overkill. |
---|
4 | # True, but C-shell syntax is gross. |
---|
5 | |
---|
6 | if ( -f ~/.meetings ) then |
---|
7 | if ($#argv == 0) echo " You appear to have a .meetings file; you don't need to run this." |
---|
8 | exit |
---|
9 | endif |
---|
10 | |
---|
11 | if ( -f ~/.disrc ) then |
---|
12 | if ($#argv == 0) then |
---|
13 | echo " You appear to have a .disrc file left over from the experimental" |
---|
14 | echo " version of discuss." |
---|
15 | echo " Converting your .disrc file to a .meetings file:" |
---|
16 | endif |
---|
17 | disrc2meetings |
---|
18 | else |
---|
19 | if ($#argv == 0) echo " Creating .meetings file:" |
---|
20 | cat >~/.meetings << _EOF_ |
---|
21 | 0:0:0:charon.mit.edu:/var/spool/discuss/new_meetings:New_meetings,new_meetings: |
---|
22 | 0:0:0:charon.mit.edu:/var/spool/discuss/eve:Everybody,eve: |
---|
23 | _EOF_ |
---|
24 | if ($#argv == 0) echo " done." |
---|
25 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.