mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-08-06 10:44:05 +00:00
flash kernel when upgrading v2
This commit is contained in:
@@ -105,6 +105,11 @@ if [[ "$V2" == "true" ]]; then
|
||||
|
||||
echo UPGRADE MODE
|
||||
|
||||
if [[ "$V2" == "true" ]]; then
|
||||
echo "Upgrading kernel"
|
||||
flashcp -v /opt/Upgrade/wz_mini_hacks-master/v2_install/v2_kernel.bin /dev/mtd1
|
||||
fi
|
||||
|
||||
umount -l /opt/wz_mini/tmp
|
||||
ls -l /opt/wz_mini/
|
||||
rm -rf /opt/wz_mini/*
|
||||
|
Reference in New Issue
Block a user