Make DC options explicit
This commit is contained in:
parent
eeb387d694
commit
1b7b0a5bc8
2 changed files with 10 additions and 10 deletions
|
|
@ -8,8 +8,8 @@ class Config:
|
||||||
SETTINGS_CHANGED = False
|
SETTINGS_CHANGED = False
|
||||||
BUTTERBOX_SSID= "butterbox"
|
BUTTERBOX_SSID= "butterbox"
|
||||||
BUTTERBOX_WIFI_PASSWORD= ""
|
BUTTERBOX_WIFI_PASSWORD= ""
|
||||||
LANGUAGES = ['en', 'ro']
|
LANGUAGES = ['en', 'ru']
|
||||||
BUTTERBOX_DEFAULT_IP = "10.0.1.37"
|
BUTTERBOX_DEFAULT_IP = "10.3.141.1"
|
||||||
BUTTERBOX_USB_PATH = "/media/usb-butter/"
|
BUTTERBOX_USB_PATH = "/media/usb-butter/"
|
||||||
|
|
||||||
BUTTERBOX_NAME = "Butter Box"
|
BUTTERBOX_NAME = "Butter Box"
|
||||||
|
|
|
||||||
|
|
@ -25,19 +25,19 @@ def run_madmail_installer():
|
||||||
child.expect("Configuration directory")
|
child.expect("Configuration directory")
|
||||||
child.sendline("")
|
child.sendline("")
|
||||||
child.expect("TLS mode")
|
child.expect("TLS mode")
|
||||||
child.sendline("")
|
child.sendline("self_signed")
|
||||||
child.expect("Disable TLS verification for clients")
|
child.expect("Disable TLS verification for clients")
|
||||||
child.sendline("y")
|
child.sendline("y")
|
||||||
child.expect("SMTP port")
|
child.expect("SMTP port")
|
||||||
child.sendline("")
|
child.sendline("25")
|
||||||
child.expect("Submission port")
|
child.expect("Submission port")
|
||||||
child.sendline("")
|
child.sendline("587")
|
||||||
child.expect("Submission TLS port")
|
child.expect("Submission TLS port")
|
||||||
child.sendline("")
|
child.sendline("465")
|
||||||
child.expect("IMAP port")
|
child.expect("IMAP port")
|
||||||
child.sendline("")
|
child.sendline("143")
|
||||||
child.expect("IMAP TLS port")
|
child.expect("IMAP TLS port")
|
||||||
child.sendline("")
|
child.sendline("993")
|
||||||
child.expect("Allow insecure")
|
child.expect("Allow insecure")
|
||||||
child.sendline("n")
|
child.sendline("n")
|
||||||
child.expect("Enable chatmail endpoint for user registration")
|
child.expect("Enable chatmail endpoint for user registration")
|
||||||
|
|
@ -47,9 +47,9 @@ def run_madmail_installer():
|
||||||
child.expect("Chatmail HTTPS port")
|
child.expect("Chatmail HTTPS port")
|
||||||
child.sendline("8443")
|
child.sendline("8443")
|
||||||
child.expect("Chatmail username length")
|
child.expect("Chatmail username length")
|
||||||
child.sendline("")
|
child.sendline("8")
|
||||||
child.expect("Chatmail password length")
|
child.expect("Chatmail password length")
|
||||||
child.sendline("")
|
child.sendline("16")
|
||||||
child.expect("Enable Shadowsocks proxy for faster messaging")
|
child.expect("Enable Shadowsocks proxy for faster messaging")
|
||||||
child.sendline("n")
|
child.sendline("n")
|
||||||
child.expect("Enable TURN server")
|
child.expect("Enable TURN server")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue