git://git.onelab.eu
/
plcrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add apply_template to generalize the translation of parameterized files into
[plcrt.git]
/
setup.d
/
addwatchers.sh
diff --git a/setup.d/addwatchers.sh
b/setup.d/addwatchers.sh
new file mode 100644
(file)
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