Update index.py

pull/619/head
Mr Chen 10 months ago
parent 084843586e
commit bc6c1886b9
  1. 3
      plugins/zabbix_agent/index.py

@ -117,9 +117,10 @@ def initAgentDConf():
mw.writeFile(dst_path,content)
def initDreplace():
initAgentDConf()
init_file = getServerDir() + '/init.pl'
if not os.path.exists(init_file):
initAgentDConf()
initAgentConf()
openPort()
mw.writeFile(init_file, 'ok')

Loading…
Cancel
Save