|
Last change
on this file since 2500 was
382,
checked in by presbrey, 18 years ago
|
|
new SQL signup and server
|
-
Property svn:executable set to
*
|
|
File size:
373 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 system:authuser none |
|---|
| 6 | fs sa $lroot/.sql daemon.scripts write |
|---|
| 7 | fs sa $lroot/.sql daemon.sql write |
|---|
| 8 | rm -f $lroot/.sql/my.cnf $lroot/.my.cnf |
|---|
| 9 | |
|---|
| 10 | echo "[mysql] |
|---|
| 11 | host=sql.mit.edu |
|---|
| 12 | user=$sqluser |
|---|
| 13 | password=$sqlpass" > $lroot/.sql/my.cnf |
|---|
| 14 | |
|---|
| 15 | ln -nfs $lroot/.sql/my.cnf $lroot/.my.cnf 2>/dev/null |
|---|
Note: See
TracBrowser
for help on using the repository browser.