- Timestamp:
- Oct 13, 2007, 10:18:22 PM (17 years ago)
- Location:
- locker
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
locker/bin/cronload
r438 r463 8 8 cwd=`pwd` 9 9 lname=`perl -e "\\\$temp = \"$cwd\"; \\\$temp =~ /\\\/([^\\\/]+)\\\/cron_scripts/; print \\\$1"` 10 athrun scripts scripts-ssh -l"$lname" /usr/local/bin/cronload "$1" "$cwd" 2>/dev/null10 athrun scripts scripts-ssh "$lname" /usr/local/bin/cronload "$1" "$cwd" 2>/dev/null -
locker/bin/scripts-remove
r459 r463 9 9 10 10 sshrun() { 11 athrun scripts scripts-ssh -l"$lname" "/mit/scripts/$@" 2>/dev/null11 athrun scripts scripts-ssh "$lname" "/mit/scripts/$@" 2>/dev/null 12 12 } 13 13 -
locker/bin/scripts-ssh
r438 r463 1 #!/bin/sh 1 #!/bin/bash 2 3 lname=$1 4 shift 2 5 3 6 exec ssh \ … … 8 11 -o GlobalKnownHostsFile=/afs/athena.mit.edu/contrib/scripts/ssh/known_hosts \ 9 12 -o UserKnownHostsFile=/dev/null \ 10 scripts.mit.edu "$@"13 scripts.mit.edu -l "$lname" "$(printf "%q " "$@")" -
locker/bin/signup-minimal
r458 r463 48 48 lname=$temp 49 49 50 ans=`athrun scripts scripts-ssh /usr/local/bin/admof "$lname" "$USER@ATHENA.MIT.EDU"`50 ans=`athrun scripts scripts-ssh "$USER" /usr/local/bin/admof "$lname" "$USER@ATHENA.MIT.EDU"` 51 51 if [ "$ans" != "yes" ]; then 52 52 echo -
locker/bin/signup-sql
r438 r463 9 9 10 10 sshrun() { 11 athrun scripts scripts-ssh -l"$lname" "/mit/scripts/$@" 2>/dev/null11 athrun scripts scripts-ssh "$lname" "/mit/scripts/$@" 2>/dev/null 12 12 } 13 13 14 14 vsshrun() { 15 athrun scripts scripts-ssh -l"$lname" "/mit/scripts/$@"15 athrun scripts scripts-ssh "$lname" "/mit/scripts/$@" 16 16 } 17 17 -
locker/deploy/bin/onathena
r457 r463 18 18 19 19 sshrun() { 20 athrun scripts scripts-ssh -l"$lname" "/mit/scripts/$@" 2>/dev/null20 athrun scripts scripts-ssh "$lname" "/mit/scripts/$@" 2>/dev/null 21 21 } 22 22 23 23 vsshrun() { 24 athrun scripts scripts-ssh -l"$lname" "/mit/scripts/$@"24 athrun scripts scripts-ssh "$lname" "/mit/scripts/$@" 25 25 } 26 26 … … 32 32 fi 33 33 echo 34 echo ERROR:34 echo "ERROR:" 35 35 printf "$2" 36 printf "$3"37 36 exit 38 37 fi … … 143 142 sqluser=$lname 144 143 . "/mit/scripts/sql/bin$scriptsdev/save-password" 145 checksqlpass 1 'The MySQL password that you typed appears to be incorrect.\n' ''144 checksqlpass 1 'The MySQL password that you typed appears to be incorrect.\n' 146 145 echo 147 146 echo "OK. Continuing with the install..." 148 147 else 149 checksqlpass 0 'The MySQL login information in your .my.cnf file\n ' 'appears to be incorrect.\n'148 checksqlpass 0 'The MySQL login information in your .my.cnf file\nappears to be incorrect.\n' 150 149 fi 151 150 fi
Note: See TracChangeset
for help on using the changeset viewer.