source: trunk/locker/bin/signup-web @ 1659

Last change on this file since 1659 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
3attach -q scripts
4. "/mit/scripts/bin$scriptsdev/signup-minimal"
5
6if [ ! -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."
13else
14    success "the web script service" "The directory /mit/$lname/web_scripts already exists."
15fi
16if [ ! -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
18fi
Note: See TracBrowser for help on using the repository browser.