X-Git-Url: http://git.onelab.eu/?p=plcrt.git;a=blobdiff_plain;f=setup.d%2Faddwatchers.sh;fp=setup.d%2Faddwatchers.sh;h=f193df8ded9723cdea0a1319ed41a19f6eed28ee;hp=0000000000000000000000000000000000000000;hb=2361d6e83f529403ff1e8801083fc92b1eb720d6;hpb=388b2853b26444acf333efd0cc0a96736020da4d diff --git a/setup.d/addwatchers.sh b/setup.d/addwatchers.sh new file mode 100644 index 0000000..f193df8 --- /dev/null +++ b/setup.d/addwatchers.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +RTDIR=/usr/share/plcrt +for f in /etc/rt3/conf.d/*.pl ; do + $RTDIR/addwatchers.pl --action insert --dba postgres --datafile $f +done