From 70874b77f9b32e28bd61a853e7dd4b4588c8692f Mon Sep 17 00:00:00 2001 From: "root@zabbix.znil.net" Date: Tue, 14 Apr 2020 20:51:45 +0200 Subject: [PATCH] rename configfile to prevent overwrite if run a update --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 31ccb21..b8a1812 100644 --- a/README.md +++ b/README.md @@ -95,9 +95,12 @@ Make the two `*.sh`scripts executeable: ### 7. Configure the Script -The script `zabbix-ldap-sync.sh`is looking for the `config.sh`in the same folder. +The script `zabbix-ldap-sync.sh`is looking for the `config.sh`in the same folder.
+Just make a copy of the `config-example.sh`
+ + cp config-example.sh config.sh Open the file `config.sh`with an editor and set the needed values: - + nano config .sh #### LDAP_Source_URL @@ -217,4 +220,8 @@ Test the sync in the shell with full paths like */10 * * * * /usr/lib/zabbix/zabbix-ldap-sync-bash/zabbix-ldap-sync.sh -c /usr/lib/zabbix/zabbix-ldap-sync-bash/zabbix-readonly.conf -s for syncing every 10 minutes -## Update the Script to latest Version \ No newline at end of file +## Update the Script to latest Version +Change to the Script folder and just type
+ + git pull +The `zabbix-ldap-sync.sh` and the ´config-example.sh´ maybe overwritten with the new versions.