Changeset 733 for locker/bin
- Timestamp:
- Apr 22, 2008, 11:55:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
locker/bin/signup-minimal
r726 r733 25 25 read whofor 26 26 if [ "$whofor" = 1 ]; then 27 lname=$USER 28 lroot=$HOME 27 lname="${ATHENA_USER:-$USER}" 29 28 elif [ "$whofor" = 2 ]; then 30 29 echo … … 32 31 echo "Please enter the name of the selected locker below." 33 32 echo "(For the locker /mit/sipb, you would enter sipb)." 34 while true; do 35 printf "Locker name: " 36 read lname 37 if attach "$lname"; then 38 break 39 fi 40 echo "$lname is not a valid locker name." 41 done 42 lroot="/mit/$lname" 33 printf "Locker name: " 34 read lname 43 35 else 44 36 echo … … 47 39 exit 1 48 40 fi 41 while true; do 42 if attach "$lname"; then 43 break 44 fi 45 echo "$lname is not a valid locker name." 46 printf "Locker name: " 47 read lname 48 done 49 49 else 50 lname= $150 lname="$1" 51 51 fi 52 52 fi 53 lroot="/mit/$lname" 53 54 54 55 attach "$lname" 2>/dev/null
Note: See TracChangeset
for help on using the changeset viewer.