Changeset 575 for locker


Ignore:
Timestamp:
Jan 5, 2008, 12:24:17 AM (17 years ago)
Author:
andersk
Message:
Run admof via http instead of ssh.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • locker/bin/signup-minimal

    r502 r575  
    77    initlname=1
    88  fi
     9fi
     10
     11if type wget >/dev/null 2>/dev/null; then
     12  WGET=wget
     13else
     14  WGET="athrun gnu wget"
    915fi
    1016
     
    4349
    4450if [ "$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"`
    5152  if [ "$ans" != "yes" ]; then
    5253    echo
     
    8990fi
    9091
    91 if type wget >/dev/null 2>/dev/null; then
    92   WGET=wget
    93 else
    94   WGET="athrun gnu wget"
    95 fi
    96 
    9792ans=`$WGET -q -O- "http://scripts.mit.edu/~signup/$lname"`
    9893rmdir "/mit/$lname/.scripts-signup"
Note: See TracChangeset for help on using the changeset viewer.