1
1
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:
Emmanuel Blot 2016-10-05 14:37:35 +02:00
parent c6362196fd
commit efe3ff3b40

View File

@ -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():