moved RTL sample conf location

This commit is contained in:
rootzoll 2022-01-18 02:17:07 +01:00
parent 2ded9deb98
commit fa21b1ac43

View File

@ -362,7 +362,7 @@ if [ "$1" = "prestart" ]; then
configExists=$(ls /mnt/hdd/app-data/rtl/${systemdService}/RTL-Config.json 2>/dev/null | grep -c "RTL-Config.json")
if [ "${configExists}" == "0" ]; then
# copy template
cp /home/rtl/RTL/.github/docs/Sample-RTL-Config.json /mnt/hdd/app-data/rtl/${systemdService}/RTL-Config.json
cp /home/rtl/RTL/Sample-RTL-Config.json /mnt/hdd/app-data/rtl/${systemdService}/RTL-Config.json
chmod 600 /mnt/hdd/app-data/rtl/${systemdService}/RTL-Config.json
fi