This is boot.txt file
Disable the ACT LED.
dtparam=act_led_trigger=none dtparam=act_led_activelow=off
Disable the PWR LED.
dtparam=pwr_led_trigger=none dtparam=pwr_led_activelow=off
Disable ethernet port LEDs
dtparam=eth_led0=4 dtparam=eth_led1=4
This is boot.txt file
dtparam=act_led_trigger=none dtparam=act_led_activelow=off
dtparam=pwr_led_trigger=none dtparam=pwr_led_activelow=off
dtparam=eth_led0=4 dtparam=eth_led1=4