source: trunk/locker/sql/bin/save-password

Last change on this file was 2076, checked in by andersk, 13 years ago
Delete svn:mergeinfo from all active branches except at . and locker Now that our branches are all synchronized, I’m pretty sure it’s safe to delete these confusing extra svn:mergeinfo properties. In the future, please don’t do any merges that aren’t at one of the canonical roots.
  • Property svn:executable set to *
File size: 367 bytes
Line 
1#!/bin/sh
2
3mkdir $lroot/.sql 2>/dev/null
4fs sa $lroot/.sql system:anyuser none
5fs sa $lroot/.sql system:authuser none
6fs sa $lroot/.sql daemon.scripts write
7fs sa $lroot/.sql daemon.sql write
8rm -f $lroot/.sql/my.cnf $lroot/.my.cnf
9
10echo "[client]
11host=sql.mit.edu
12user=$sqluser
13password=$sqlpass" > $lroot/.sql/my.cnf
14
15ln -nfs .sql/my.cnf $lroot/.my.cnf 2>/dev/null
Note: See TracBrowser for help on using the repository browser.