Wled set disable pwm on reboot

Hi, I have a problem configuring WLED.
I have used the PWM output of an ESP8266 to control a transistor that regulates a 5V LED strip.

This also works 100%.

When I restart the controller, it is no longer accessible and does not start.

To get it to start, the PWM connection has to be disconnected, the controller restarted and then the PWM connection re-established.

To avoid having to compile my system myself, I need the option

void wled_set_disable_pwm_on_reboot(bool disable_pwm);

for selection in the web interface

Is there already a solution here?

Yours sincerely bbcare