Skip to content

Commit be118b7

Browse files
author
coderbot
committed
Merge branch 'develop' of https://github.com/CoderBotOrg/coderbot into develop
2 parents 3a9de27 + 9ef6df8 commit be118b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wifi.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def start_hostapd(cls):
4949
hostapd_type = cls.hostapds.get(adapter)
5050
try:
5151
print "starting hostapd..."
52-
os.system("start-stop-daemon --start --oknodo --quiet --exec /usr/sbin/" + hostapd_type + " -- /etc/hostapd/" + hostapd_type + " &")
52+
#os.system("start-stop-daemon --start --oknodo --quiet --exec /usr/sbin/" + hostapd_type + " -- /etc/hostapd/" + hostapd_type + " &")
53+
os.system("/usr/sbin/" + hostapd_type + " /etc/hostapd/" + hostapd_type + " -B")
5354

5455
except subprocess.CalledProcessError as e:
5556
print e.output

0 commit comments

Comments
 (0)