Fixing hostapd bug
This commit is contained in:
@@ -57,14 +57,13 @@ class Hostapd(Dependency):
|
|||||||
self.output_file = os.path.abspath(os.path.join(temp, 'hostapd.out'))
|
self.output_file = os.path.abspath(os.path.join(temp, 'hostapd.out'))
|
||||||
self.output_write = open(self.output_file, 'a')
|
self.output_write = open(self.output_file, 'a')
|
||||||
|
|
||||||
self.pid = Process([
|
command = [
|
||||||
self.process_name,
|
self.process_name,
|
||||||
'-C', self.config_file,
|
'-i', self.interface,
|
||||||
'-i', self.interface
|
self.config_file
|
||||||
],
|
]
|
||||||
stdout=self.output_write,
|
|
||||||
cwd=temp
|
self.pid = Process(command, stdout=self.output_write, cwd=temp)
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user