blob: d7e6365d1420d7c3e3235fd892a9c24151cebe1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/dis/sh
mount -A {auxi/odbcmnt -a tcp!200.1.1.113} /mnt/odbc
fn splitrun {
if {! ~ $#* 0} {
(hd tl) = $*
echo Registering $hd
grid/register -a resource ODBC -a name $hd '{export /mnt/odbc/'^$hd^'}'
splitrun $tl
}
}
cd /mnt/odbc
sources=`{ls}
splitrun $sources
|