Merge branch 'Guilouz:main' into main

This commit is contained in:
genuineparts 2024-12-16 19:23:03 +01:00 committed by GitHub
commit 1970f09392
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,7 +38,7 @@ factory_reset() {
case "$1" in
start)
FLAG_FILE=$(ls /tmp/udisk/sda*/emergency_factory_reset 2> /dev/null)
FLAG_FILE=$(ls /tmp/udisk/sda*/factory_reset 2> /dev/null)
if [ $? -eq 0 ] && [ "x$FLAG_FILE" != "x" ]; then
FLAG_FILE=$(echo $FLAG_FILE | awk '{print $1}')
echo "Info: Executing factory reset..."