Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging #121

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
join
seesi8 committed Jul 19, 2023
commit 0546e2ef86e30a2a273af1075071c0608f8d80d6
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@
"wpa_key_mgmt=WPA-PSK"
"rsn_pairwise=CCMP"
]
file.write(lines.join("\n"))
file.write("\n".join(lines))

os.system("systemctl unmask hostapd")
os.system("systemctl enable hostapd")
@@ -41,7 +41,7 @@
"dhcp-range=192.168.50.150,192.168.50.200,255.255.255.0,12h",
"address=/setup.ballbert.com/10.0.0.1",
]
file.write(lines.join("\n"))
file.write("\n".join(lines))

os.system("cp /etc/dhcpcd.conf /etc/dhcpcd.conf.copy")

@@ -52,6 +52,6 @@
"static ip_address=192.168.50.10/24",
"static routers=192.168.50.1",
]
file.write(lines.join("\n"))
file.write("\n".join(lines))

os.system("reboot")