- Timestamp:
- Mar 20, 2007, 9:45:51 PM (18 years ago)
- Location:
- locker/deploy/bin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
locker/deploy/bin/onathena
r237 r240 30 30 } 31 31 32 #if [ "$override" = "" ]; then 32 33 #echo "The scripts.mit.edu automatic installers are currently unavailable." 33 34 #echo "We hope to make them available again soon." 34 35 #echo "If you would like us to notify you as soon as they are available again," 35 36 #echo "let us know by sending us an e-mail at scripts@mit.edu" 36 #exit 37 #exit 38 #fi 37 39 38 40 echo … … 164 166 fi 165 167 166 if [ "$prompt_password" -eq 1 ]; then167 stty -echo168 sshrun "deploy$scriptdev/bin/prompt-password '$sname' '$deploy' '$addrend' '$admin_username'"169 stty echo170 fi171 172 echo173 echo "Unpacking $sname... (this step might take several minutes)"174 175 if [ "$create_dir" = "" ]; then176 create_dir=0177 fi178 179 if [ "$create_dir" -eq 1 ]; then180 mkdir -p "$lroot/scripts-$deploy"181 fs sa "$lroot/scripts-$deploy" system:anyuser none182 fs sa "$lroot/scripts-$deploy" system:authuser none183 fs sa "$lroot/scripts-$deploy" daemon.scripts write184 fs sa "$lroot/scripts-$deploy" system:scripts-security-upd write185 fi186 187 168 origdir=`pwd` 188 169 mkdir -p "$lroot/web_scripts_tmp" … … 198 179 fs sa . daemon.scripts write 199 180 fs sa . system:scripts-security-upd write 181 182 if [ "$prompt_password" -eq 1 ]; then 183 stty -echo 184 sshrun "deploy$scriptsdev/bin/prompt-password '$sname' '$deploy' '$addrend' '$admin_username'" 185 stty echo 186 fi 187 188 echo 189 echo "Unpacking $sname... (this step might take several minutes)" 190 191 if [ "$create_dir" = "" ]; then 192 create_dir=0 193 fi 194 195 if [ "$create_dir" -eq 1 ]; then 196 mkdir -p "$lroot/scripts-$deploy" 197 fs sa "$lroot/scripts-$deploy" system:anyuser none 198 fs sa "$lroot/scripts-$deploy" system:authuser none 199 fs sa "$lroot/scripts-$deploy" daemon.scripts write 200 fs sa "$lroot/scripts-$deploy" system:scripts-security-upd write 201 fi 202 200 203 athrun scripts gtar zxf "/mit/scripts/deploy$scriptsdev/$deploy.tar.gz" 201 files=`athrun scripts gfind . -mindepth 1 -maxdepth 1 `204 files=`athrun scripts gfind . -mindepth 1 -maxdepth 1 | grep -v .admin` 202 205 numfiles=`echo "$files" | wc -l` 203 206 if [ "$numfiles" -eq 1 ]; then -
locker/deploy/bin/onserver.pm
r239 r240 65 65 if(-e "$HOME/web_scripts/$addrend/.admin") { 66 66 $admin_password=`cat $HOME/web_scripts/$addrend/.admin`; 67 }68 chomp($admin_password);69 unlink "$HOME/web_scripts/$addrend/.admin";70 67 chomp($admin_password); 68 unlink "$HOME/web_scripts/$addrend/.admin"; 69 } 70 71 71 print "\nConfiguring $sname...\n"; 72 72
Note: See TracChangeset
for help on using the changeset viewer.