diff --git a/Makefile b/Makefile index 067491f09..cc96897fa 100644 --- a/Makefile +++ b/Makefile @@ -311,7 +311,7 @@ tftpd_start: sudo true @if sudo which atftpd >/dev/null ; then \ echo "Starting aftpd"; \ - sudo atftpd --verbose --bind-address $(TFTP_IPRANGE).100 --daemon --logfile /dev/stdout --no-fork --user $(shell whoami) --group $(shell whoami) $(TFTPD_DIR) & \ + sudo atftpd --verbose --bind-address $(TFTP_IPRANGE).100 --daemon --logfile /dev/stdout --no-fork --user $(shell whoami) --group $(shell id -gn) $(TFTPD_DIR) & \ elif sudo which in.tftpd >/dev/null; then \ echo "Starting in.tftpd"; \ sudo in.tftpd --verbose --listen --address $(TFTP_IPRANGE).100 --user $(shell whoami) -s $(TFTPD_DIR) & \