From: alberand Date: Wed, 31 Mar 2021 20:43:15 +0000 (+0200) Subject: tftpd: allow varying path to the *.pid while run by sudo X-Git-Tag: 20211022~6^2~4 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/novaboot.git/commitdiff_plain/1d343b04ceda14bc3cf11fe4c7914a8be1fcfc65 tftpd: allow varying path to the *.pid while run by sudo --- diff --git a/sudoers.novaboot b/sudoers.novaboot index 8c723bc..dd38f23 100644 --- a/sudoers.novaboot +++ b/sudoers.novaboot @@ -5,5 +5,5 @@ # your_login ALL=NOPASSWD: NOVABOOT_DHCP # Uncomment the following lines to enable --dhcp-tftp and --tftp options -# Cmnd_Alias NOVABOOT_TFTP = /usr/sbin/in.tftpd --listen --secure -v -v -v --pidfile tftpd.pid *, /usr/bin/pkill --pidfile=tftpd.pid +# Cmnd_Alias NOVABOOT_TFTP = /usr/sbin/in.tftpd --listen --secure -v -v -v --pidfile */tftpd.pid *, /usr/bin/pkill --pidfile=tftpd.pid # your_login ALL=NOPASSWD: NOVABOOT_TFTP