Changeset 640 for locker/bin
- Timestamp:
- Feb 9, 2008, 5:13:45 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
locker/bin/signup-minimal
r629 r640 32 32 echo "Please enter the name of the selected locker below." 33 33 echo "(For the locker /mit/sipb, you would enter sipb)." 34 printf "Locker name: " 35 read lname 34 while printf "Locker name: "; read lname; ! attach "$lname" 2>/dev/null; do 35 echo "$lname is not a valid locker name." 36 done 36 37 lroot="/mit/$lname" 37 38 else … … 44 45 lname=$1 45 46 fi 46 fi47 48 attach "$lname" 2>/dev/null49 50 if [ ! -d "/mit/$lname" ]; then51 echo52 echo "ERROR:"53 echo "Cannot find locker <$lname>."54 exit 155 47 fi 56 48
Note: See TracChangeset
for help on using the changeset viewer.