mirror of
https://github.com/limosek/zaf.git
synced 2024-11-25 03:49:06 +01:00
3cbd3a3702
Added cache support Added Zabbix API calls
18 lines
384 B
Bash
18 lines
384 B
Bash
#!/bin/sh
|
|
|
|
case $1 in
|
|
configure)
|
|
if [ -f /usr/lib/zaf/install.sh ] && [ -f /etc/zaf.conf ] && [ -f /usr/lib/zaf/zaf.lib.sh ] && which zaf >/dev/null; then
|
|
. /etc/zaf.conf
|
|
. /usr/lib/zaf/zaf.lib.sh
|
|
. /usr/lib/zaf/os.lib.sh
|
|
. /usr/lib/zaf/ctrl.lib.sh
|
|
cd /usr/lib/zaf && /usr/lib/zaf/install.sh reconf
|
|
[ -n "{PLUGINS}" ] && zaf reinstall {PLUGINS} {IPLUGINS}
|
|
fi
|
|
;;
|
|
esac
|
|
|
|
true
|
|
|