| Last change
                  on this file since 153 was
                  131,
                  checked in by jbarnold, 19 years ago | 
        
          | added sql scripts | 
        
          | 
              
                  Property svn:executable set to
                  * | 
        | File size:
            299 bytes | 
      
      
        
  | Line |  | 
|---|
| 1 | #!/bin/sh | 
|---|
| 2 |  | 
|---|
| 3 | mkdir $lroot/.sql 2>/dev/null | 
|---|
| 4 | fs sa $lroot/.sql system:anyuser none | 
|---|
| 5 | fs sa $lroot/.sql daemon.scripts write | 
|---|
| 6 | rm -f $lroot/.sql/my.cnf $lroot/.my.cnf | 
|---|
| 7 |  | 
|---|
| 8 | echo "[mysql] | 
|---|
| 9 | host=sql.mit.edu | 
|---|
| 10 | user=$sqluser | 
|---|
| 11 | password=$sqlpass" > $lroot/.sql/my.cnf | 
|---|
| 12 |  | 
|---|
| 13 | ln -nfs $lroot/.sql/my.cnf $lroot/.my.cnf 2>/dev/null | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.