tool/run/load/ipxe: use installed_command

to find lighttpd if it is installed in /usr/sbin
This commit is contained in:
Alexander Boettcher 2023-05-10 11:42:16 +02:00 committed by Christian Helmuth
parent cc5d476fb1
commit 8f5fe6dfe1

View File

@ -96,7 +96,7 @@ proc create_ipxe_config { } {
close $fh
global lighttpd_spawn_id
spawn lighttpd -f $conf_file -D
spawn [installed_command lighttpd] -f $conf_file -D
set lighttpd_spawn_id $spawn_id
}