Last change
on this file since 1791 was
1791,
checked in by andersk, 14 years ago
|
trac: Mangle HTTP_REFERER to let the login link keep you on the same page.
(Merge of r1526:1528 from branches/locker-dev to trunk, from andersk)
|
-
Property svn:executable set to
*
-
Property svn:mergeinfo set to
False
|
File size:
367 bytes
|
Rev | Line | |
---|
[131] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | mkdir $lroot/.sql 2>/dev/null |
---|
| 4 | fs sa $lroot/.sql system:anyuser none |
---|
[157] | 5 | fs sa $lroot/.sql system:authuser none |
---|
[131] | 6 | fs sa $lroot/.sql daemon.scripts write |
---|
[382] | 7 | fs sa $lroot/.sql daemon.sql write |
---|
[131] | 8 | rm -f $lroot/.sql/my.cnf $lroot/.my.cnf |
---|
| 9 | |
---|
[1312] | 10 | echo "[client] |
---|
[131] | 11 | host=sql.mit.edu |
---|
| 12 | user=$sqluser |
---|
| 13 | password=$sqlpass" > $lroot/.sql/my.cnf |
---|
| 14 | |
---|
[1440] | 15 | ln -nfs .sql/my.cnf $lroot/.my.cnf 2>/dev/null |
---|
Note: See
TracBrowser
for help on using the repository browser.