Revisión 68
Añadido por jredrejo hace alrededor de 14 años
wifi-ltsp/trunk/configura_hostapd.py | ||
---|---|---|
return g
|
||
|
||
def inicia_hostapd():
|
||
subprocess.Popen(["invoke-rc.d","hostapd","start"])
|
||
subprocess.Popen(["ifconfig","wlan0","up"])
|
||
subprocess.Popen(["invoke-rc.d","hostapd","restart"])
|
||
|
||
def userIsTeacher(user_name):
|
||
p1 = subprocess.Popen(["id", "-Gn",user_name], stdout=subprocess.PIPE)
|
Exportar a: Unified diff
asegura que hostapd arranca