mirror of
https://github.com/eblot/pybootd.git
synced 2024-08-17 09:51:07 +03:00
Start up all daemons
This commit is contained in:
parent
c6362196fd
commit
efe3ff3b40
@ -100,10 +100,11 @@ def main():
|
||||
daemon = None
|
||||
if not args.tftp:
|
||||
daemon = BootpDaemon(logger, cfgparser)
|
||||
daemon.start()
|
||||
if not args.pxe:
|
||||
daemon = TftpDaemon(logger, cfgparser, daemon)
|
||||
if daemon:
|
||||
daemon.start()
|
||||
if daemon:
|
||||
while True:
|
||||
daemon.join(0.5)
|
||||
if not daemon.is_alive():
|
||||
|
Loading…
Reference in New Issue
Block a user