mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
update
This commit is contained in:
@@ -132,8 +132,8 @@ def initdUinstall():
|
||||
return 'ok'
|
||||
|
||||
|
||||
def smbConf():
|
||||
return '/etc/samba/smb.conf'
|
||||
def appConf():
|
||||
return '/etc/rsyncd.conf'
|
||||
|
||||
if __name__ == "__main__":
|
||||
func = sys.argv[1]
|
||||
@@ -154,6 +154,6 @@ if __name__ == "__main__":
|
||||
elif func == 'initd_uninstall':
|
||||
print initdUinstall()
|
||||
elif func == 'conf':
|
||||
print smbConf()
|
||||
print appConf()
|
||||
else:
|
||||
print 'error'
|
||||
|
||||
Reference in New Issue
Block a user