Skip to content

Commit

Permalink
remove device info file on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
dhwz committed Mar 12, 2024
1 parent dc38f2f commit 3159215
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/amberelec/sources/autostart.sh
Expand Up @@ -229,6 +229,7 @@ then
/usr/bin/batocera-internal-wifi disable-no-refresh
fi
rm -f "/storage/.config/device" 2>/dev/null
if [ "$(cat /sys/firmware/devicetree/base/model)" == "Anbernic RG351MP" ]; then
VOLT1=$(cat /sys/bus/iio/devices/iio:device0/in_voltage1_raw)
VOLT2=$(cat /sys/bus/iio/devices/iio:device0/in_voltage2_raw)
Expand Down

0 comments on commit 3159215

Please sign in to comment.