Changeset 659
- Timestamp:
- Feb 16, 2008, 5:35:51 PM (17 years ago)
- Location:
- locker/bin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
locker/bin/signup-cron
r380 r659 1 1 #!/bin/sh 2 2 3 attach scripts 2>/dev/null3 attach scripts 4 4 . /mit/scripts/bin$scriptsdev/signup-minimal 5 5 6 6 if [ ! -d "/mit/$lname/cron_scripts/" ]; then 7 mkdir 2>/dev/null/mit/$lname/cron_scripts7 mkdir /mit/$lname/cron_scripts 8 8 fs sa /mit/$lname/cron_scripts system:anyuser l 9 9 fs sa /mit/$lname/cron_scripts system:authuser none -
locker/bin/signup-mail
r380 r659 1 1 #!/bin/sh 2 2 3 attach scripts 2>/dev/null3 attach scripts 4 4 . /mit/scripts/bin$scriptsdev/signup-minimal 5 5 6 6 if [ ! -d "/mit/$lname/mail_scripts/" ]; then 7 mkdir 2>/dev/null/mit/$lname/mail_scripts7 mkdir /mit/$lname/mail_scripts 8 8 fs sa /mit/$lname/mail_scripts system:anyuser l 9 9 fs sa /mit/$lname/mail_scripts system:authuser none -
locker/bin/signup-minimal
r658 r659 35 35 printf "Locker name: " 36 36 read lname 37 if attach "$lname" 2>/dev/null; then37 if attach "$lname"; then 38 38 break 39 39 fi … … 75 75 fi 76 76 77 mkdir "/mit/$lname/.scripts-signup" 2>/dev/null77 mkdir "/mit/$lname/.scripts-signup" 78 78 79 79 if [ ! -d "/mit/$lname/.scripts-signup" ]; then -
locker/bin/signup-sql
r463 r659 9 9 10 10 sshrun() { 11 athrun scripts scripts-ssh "$lname" "/mit/scripts/$@" 2>/dev/null11 athrun scripts scripts-ssh "$lname" "/mit/scripts/$@" 12 12 } 13 13 … … 65 65 # Users need to sign up for scripts.mit.edu so that they can 66 66 # authenticate themselves to sql.mit.edu 67 attach scripts 2>/dev/null67 attach scripts 68 68 . /mit/scripts/bin$scriptsdev/signup-web 69 69 … … 73 73 74 74 if [ ! -f "$lroot/.my.cnf" ]; then 75 mkdir $lroot/.sql 2>/dev/null75 mkdir $lroot/.sql 76 76 fs sa $lroot/.sql system:anyuser none 77 77 fs sa $lroot/.sql system:authuser none 78 78 fs sa $lroot/.sql daemon.scripts write 79 79 fs sa $lroot/.sql daemon.sql write 80 ln -nfs $lroot/.sql/my.cnf $lroot/.my.cnf 2>/dev/null80 ln -nfs $lroot/.sql/my.cnf $lroot/.my.cnf 81 81 fi 82 82
Note: See TracChangeset
for help on using the changeset viewer.