Changeset 43341
- Timestamp:
- 01/28/19 18:28:51 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/oealliance/usr/bin/titan.sh
r43321 r43341 15 15 16 16 if [ -e /var/etc/.erasemtd ] || [ ! -e /mnt/swapextensions ]; then 17 if [ -e /var/etc/.backupmtd ]; then 18 mkdir /tmp/backupmtd 19 cp -a /mnt/settings /tmp/backupmtd 20 cp -a /mnt/config /tmp/backupmtd 21 cp -a /mnt/network /tmp/backupmtd 22 cp -a /mnt/script /tmp/backupmtd 23 mkdir /tmp/backupmtd/swapextensions 24 cp -a /mnt/swapextensions/player /tmp/backupmtd/swapextensions 25 # backuptpk 26 fi 27 17 28 if [ -e /media/hdd/.update/.last ];then 18 29 BACKUPDIR=/media/hdd/.update … … 44 55 mkdir /mnt/tpk 45 56 sleep 10 57 58 if [ -e /var/etc/.backupmtd ]; then 59 # restoretpk 60 61 rm -rf /mnt/settings 62 rm -rf /mnt/config 63 rm -rf /mnt/network 64 rm -rf /mnt/script 65 rm -rf /mnt/swapextensions/player 66 cp -a /tmp/backupmtd/* /mnt 67 # else 68 # mkdir /mnt/tpk 69 # mkdir /mnt/script 70 # reset.sh 71 fi 72 46 73 rm -r /var/etc/.erasemtd 47 74 rm -r /var/etc/.backupmtd
Note: See TracChangeset
for help on using the changeset viewer.