source: locker/bin/signup-mail @ 127

Last change on this file since 127 was 127, checked in by jbarnold, 16 years ago
old copies of locker software
  • Property svn:executable set to *
File size: 644 bytes
RevLine 
[127]1#!/bin/sh
2
3attach scripts 2>/dev/null
4. /mit/scripts/bin$scriptsdev/signup-minimal
5
6if [ ! -d "/mit/$lname/mail_scripts/" ]; then
7  mkdir 2>/dev/null /mit/$lname/mail_scripts
8  fs sa /mit/$lname/mail_scripts system:anyuser l
9  fs sa /mit/$lname/mail_scripts daemon.scripts read
10  sed /SCRIPTS_USER/s//$lname/ /mit/scripts/bin/procmailrc > /mit/$lname/mail_scripts/procmailrc
11#  echo -e ":0\n*\n! $USER@mit.edu" >/mit/$lname/mail_scripts/procmailrc
12  success "the mail script service" "The directory /mit/$lname/mail_scripts has been created."
13else
14  success "the mail script service" "The directory /mit/$lname/mail_scripts already exists."
15fi
Note: See TracBrowser for help on using the repository browser.