- Timestamp:
- Jan 5, 2008, 12:24:17 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
locker/bin/signup-minimal
r502 r575 7 7 initlname=1 8 8 fi 9 fi 10 11 if type wget >/dev/null 2>/dev/null; then 12 WGET=wget 13 else 14 WGET="athrun gnu wget" 9 15 fi 10 16 … … 43 49 44 50 if [ "$lname" != "$USER" ]; then 45 temp=$lname 46 lname=$USER 47 . "/mit/scripts/bin$scriptsdev/signup-minimal" 48 lname=$temp 49 50 ans=`athrun scripts scripts-ssh "$USER" /usr/local/bin/admof "$lname" "$USER@ATHENA.MIT.EDU"` 51 ans=`$WGET -q -O- "http://scripts.mit.edu/~signup/admof.php/$lname/$USER@ATHENA.MIT.EDU"` 51 52 if [ "$ans" != "yes" ]; then 52 53 echo … … 89 90 fi 90 91 91 if type wget >/dev/null 2>/dev/null; then92 WGET=wget93 else94 WGET="athrun gnu wget"95 fi96 97 92 ans=`$WGET -q -O- "http://scripts.mit.edu/~signup/$lname"` 98 93 rmdir "/mit/$lname/.scripts-signup"
Note: See TracChangeset
for help on using the changeset viewer.