Last change
on this file since 1107 was
980,
checked in by andersk, 16 years ago
|
Solaris sh doesn't support -e.
|
-
Property svn:executable set to
*
|
File size:
768 bytes
|
Rev | Line | |
---|
[127] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | attach -q scripts |
---|
[459] | 4 | . "/mit/scripts/bin$scriptsdev/signup-minimal" |
---|
[127] | 5 | |
---|
| 6 | if [ ! -d "/mit/$lname/web_scripts/" ]; then |
---|
[459] | 7 | mkdir -p "/mit/$lname/web_scripts" |
---|
| 8 | fs sa "/mit/$lname/web_scripts" system:anyuser l |
---|
| 9 | fs sa "/mit/$lname/web_scripts" system:authuser none |
---|
| 10 | fs sa "/mit/$lname/web_scripts" system:scripts-security-upd rl |
---|
| 11 | fs sa "/mit/$lname/web_scripts" daemon.scripts write |
---|
[127] | 12 | success "the web script service" "The directory /mit/$lname/web_scripts has been created." |
---|
| 13 | else |
---|
| 14 | success "the web script service" "The directory /mit/$lname/web_scripts already exists." |
---|
| 15 | fi |
---|
[980] | 16 | if [ ! -f "/mit/$lname/web_scripts/.htaccess.mit" ]; then |
---|
[976] | 17 | ln -ns /afs/athena.mit.edu/contrib/scripts/www/web_scripts-.htaccess.mit /mit/$lname/web_scripts/.htaccess.mit |
---|
| 18 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.