Last change
on this file since 2535 was
980,
checked in by andersk, 16 years ago
|
Solaris sh doesn't support -e.
|
-
Property svn:executable set to
*
|
File size:
768 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | attach -q scripts |
---|
4 | . "/mit/scripts/bin$scriptsdev/signup-minimal" |
---|
5 | |
---|
6 | if [ ! -d "/mit/$lname/web_scripts/" ]; then |
---|
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 |
---|
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 |
---|
16 | if [ ! -f "/mit/$lname/web_scripts/.htaccess.mit" ]; then |
---|
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.