|
|
|
|
@ -27,7 +27,7 @@ def menu1_show():
|
|
|
|
|
print(' 3 - Read full device info')
|
|
|
|
|
print(' 4 - Create full backup')
|
|
|
|
|
print(' 5 - Install EN/RU languages')
|
|
|
|
|
print(' 6 - Install Breed bootloader')
|
|
|
|
|
print(' 6 - Install permanent SSH')
|
|
|
|
|
print(' 7 - Install firmware (from directory "firmware")')
|
|
|
|
|
print(' 8 - {{{ Other functions }}}')
|
|
|
|
|
print(' 9 - [[ Reboot device ]]')
|
|
|
|
|
@ -41,7 +41,7 @@ def menu1_process(id):
|
|
|
|
|
if id == 3: return "read_info.py"
|
|
|
|
|
if id == 4: return "create_backup.py"
|
|
|
|
|
if id == 5: return "install_lang.py"
|
|
|
|
|
if id == 6: return [ "install_bl.py", "breed" ]
|
|
|
|
|
if id == 6: return "install_ssh.py"
|
|
|
|
|
if id == 7: return "install_fw.py"
|
|
|
|
|
if id == 8: return "__menu2"
|
|
|
|
|
if id == 9: return "reboot.py"
|
|
|
|
|
@ -56,7 +56,7 @@ def menu2_show():
|
|
|
|
|
print(' 4 - Create a backup of the specified partition')
|
|
|
|
|
print(' 5 - Uninstall EN/RU languages')
|
|
|
|
|
print(' 6 - Set kernel boot address')
|
|
|
|
|
print(' 7 - Install permanent SSH')
|
|
|
|
|
print(' 7 - Install Breed bootloader')
|
|
|
|
|
print(' 8 - __test__')
|
|
|
|
|
print(' 9 - [[ Reboot device ]]')
|
|
|
|
|
print(' 0 - Return to main menu')
|
|
|
|
|
@ -70,7 +70,7 @@ def menu2_process(id):
|
|
|
|
|
if id == 4: return [ "create_backup.py", "part" ]
|
|
|
|
|
if id == 5: return [ "install_lang.py", "uninstall" ]
|
|
|
|
|
if id == 6: return "activate_boot.py"
|
|
|
|
|
if id == 7: return "install_ssh.py"
|
|
|
|
|
if id == 7: return [ "install_bl.py", "breed" ]
|
|
|
|
|
if id == 8: return "test.py"
|
|
|
|
|
if id == 9: return "reboot.py"
|
|
|
|
|
if id == 0: return "__menu1"
|
|
|
|
|
|