example scripts for startup
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 21 Feb 2010 00:38:01 +0000 (00:38 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 21 Feb 2010 00:38:01 +0000 (00:38 +0000)
koha-ldap-rewrite.sh [new file with mode: 0755]
safeq-ldap-koha.sh [new file with mode: 0755]

diff --git a/koha-ldap-rewrite.sh b/koha-ldap-rewrite.sh
new file mode 100755 (executable)
index 0000000..1501bbe
--- /dev/null
@@ -0,0 +1,4 @@
+cd /srv/virtual-ldap/
+log=koha-ldap-rewrite.log 
+test -f $log && mv $log $log.`date +%Y-%m-%dT%H%M%S`
+( ./bin/ldap-rewrite.pl 2>&1 ) | tee -a $log
diff --git a/safeq-ldap-koha.sh b/safeq-ldap-koha.sh
new file mode 100755 (executable)
index 0000000..3dc9066
--- /dev/null
@@ -0,0 +1,4 @@
+cd /srv/virtual-ldap/
+log=safeq-ldap-koha.log 
+test -f $log && mv $log $log.`date +%Y-%m-%dT%H%M%S`
+( MAX_RESULTS=10 ./bin/ldap-koha.pl 10.60.0.13:2389 2>&1 ) | tee -a $log