11-15-2022, 03:15 AM
You best bet to determine whether the manually added dtoverlay line will be preserved is to examine the three source files where /boot/config.txt is manipulated. It's never overwritten but rather surgically edited with sed. There are however some sed's that expect certain lines to be there in a specific order.
Code:
/var/www/daemon/worker.php
/var/www/inc/audio.php
/var/www/inc/network.php