Changeset 16538 in niluje


Ignore:
Timestamp:
Oct 7, 2019, 6:21:32 PM (11 days ago)
Author:
NiLuJe
Message:

Kindle Touch Hacks:

  • Bridge:
    • Try harder to restore backups after a varlocal cleanup
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Touch_Hacks/DevCerts/src/install/bridge.conf

    r15298 r16538  
    3737
    3838        # Has varlocal been wiped? Fix it!
    39         if [ ! -d "${MKK_PERSISTENT_STORAGE}" ] ; then
     39        if [ ! -d "${MKK_PERSISTENT_STORAGE}" ] || [ ! -f "${MKK_PERSISTENT_STORAGE}/bridge.sh" ] ; then
    4040                if [ -d "${MKK_BACKUP_STORAGE}" ] ; then
    4141                        #f_log I bridge start "" "restoring mkk from backups"
     
    4343                fi
    4444        fi
    45         if [ ! -d "${RP_PERSISTENT_STORAGE}" ] ; then
     45        if [ ! -d "${RP_PERSISTENT_STORAGE}" ] || [ ! -f "${RP_PERSISTENT_STORAGE}/debrick" ] ; then
    4646                if [ -d "${RP_BACKUP_STORAGE}" ] ; then
    4747                        #f_log I bridge start "" "restoring rp from backups"
Note: See TracChangeset for help on using the changeset viewer.