mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 06:39:25 +08:00
Update index.py
This commit is contained in:
@@ -596,6 +596,7 @@ def makeLsyncdConf(data):
|
||||
cmd_exclude_txt += x + "\n"
|
||||
mw.writeFile(cmd_exclude, cmd_exclude_txt)
|
||||
cmd_pass = name_dir + "/pass"
|
||||
mw.execShell("chmod 755 " + cmd_pass)
|
||||
mw.writeFile(cmd_pass, t['password'])
|
||||
mw.execShell("chmod 600 " + cmd_pass)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user