]> rtime.felk.cvut.cz Git - novaboot.git/commitdiff
tftpd: allow varying path to the *.pid while run by sudo
authoralberand <albershteyn.andrey@gmail.com>
Wed, 31 Mar 2021 20:43:15 +0000 (22:43 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Mon, 28 Jun 2021 06:18:02 +0000 (08:18 +0200)
sudoers.novaboot

index 8c723bcbb46210c83908574ec401de399c6c767c..dd38f23075e77d5848343ab23f6b4e2bd59db7b1 100644 (file)
@@ -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