rename config.txt file to diya-config.txt to avoid conflict wuth rpi

This commit is contained in:
DanyLE
2025-03-27 11:57:29 +01:00
parent 8791a5d86d
commit 7b75b29500
4 changed files with 8 additions and 8 deletions

View File

@ -7,8 +7,8 @@ DESC="Custom configuration"
case "$1" in
start)
echo -n "Start $DESC: "
sed -i 's/^.*recovery.*/recovery=false/g' /boot/config.txt || \
echo "recovery=false" >> /boot/config.txt
sed -i 's/^.*recovery.*/recovery=false/g' /boot/diya-config.txt || \
echo "recovery=false" >> /boot/diya-config.txt
;;
*)