Changeset 659 for locker/bin


Ignore:
Timestamp:
Feb 16, 2008, 5:35:51 PM (16 years ago)
Author:
broder
Message:
Don't blow errors to /dev/null
Location:
locker/bin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • locker/bin/signup-cron

    r380 r659  
    11#!/bin/sh
    22
    3 attach scripts 2>/dev/null
     3attach scripts
    44. /mit/scripts/bin$scriptsdev/signup-minimal
    55
    66if [ ! -d "/mit/$lname/cron_scripts/" ]; then
    7   mkdir 2>/dev/null /mit/$lname/cron_scripts
     7  mkdir /mit/$lname/cron_scripts
    88  fs sa /mit/$lname/cron_scripts system:anyuser l
    99  fs sa /mit/$lname/cron_scripts system:authuser none
  • locker/bin/signup-mail

    r380 r659  
    11#!/bin/sh
    22
    3 attach scripts 2>/dev/null
     3attach scripts
    44. /mit/scripts/bin$scriptsdev/signup-minimal
    55
    66if [ ! -d "/mit/$lname/mail_scripts/" ]; then
    7   mkdir 2>/dev/null /mit/$lname/mail_scripts
     7  mkdir /mit/$lname/mail_scripts
    88  fs sa /mit/$lname/mail_scripts system:anyuser l
    99  fs sa /mit/$lname/mail_scripts system:authuser none
  • locker/bin/signup-minimal

    r658 r659  
    3535            printf "Locker name: "
    3636            read lname
    37             if attach "$lname" 2>/dev/null; then
     37            if attach "$lname"; then
    3838                break
    3939            fi
     
    7575fi
    7676
    77 mkdir "/mit/$lname/.scripts-signup" 2>/dev/null
     77mkdir "/mit/$lname/.scripts-signup"
    7878
    7979if [ ! -d "/mit/$lname/.scripts-signup" ]; then
  • locker/bin/signup-sql

    r463 r659  
    99
    1010sshrun() {
    11   athrun scripts scripts-ssh "$lname" "/mit/scripts/$@" 2>/dev/null
     11  athrun scripts scripts-ssh "$lname" "/mit/scripts/$@"
    1212}
    1313
     
    6565# Users need to sign up for scripts.mit.edu so that they can
    6666# authenticate themselves to sql.mit.edu
    67 attach scripts 2>/dev/null
     67attach scripts
    6868. /mit/scripts/bin$scriptsdev/signup-web
    6969
     
    7373
    7474if [ ! -f "$lroot/.my.cnf" ]; then
    75   mkdir $lroot/.sql 2>/dev/null
     75  mkdir $lroot/.sql
    7676  fs sa $lroot/.sql system:anyuser none
    7777  fs sa $lroot/.sql system:authuser none
    7878  fs sa $lroot/.sql daemon.scripts write
    7979  fs sa $lroot/.sql daemon.sql write
    80   ln -nfs $lroot/.sql/my.cnf $lroot/.my.cnf 2>/dev/null
     80  ln -nfs $lroot/.sql/my.cnf $lroot/.my.cnf
    8181fi
    8282
Note: See TracChangeset for help on using the changeset viewer.