mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-03 04:35:47 +01:00
Update plugin.py
This commit is contained in:
@@ -610,12 +610,12 @@ class NeoBootInstallation(Screen):
|
|||||||
writefile.close()
|
writefile.close()
|
||||||
|
|
||||||
if not os.path.isfile('/etc/name'):
|
if not os.path.isfile('/etc/name'):
|
||||||
if getBoxHostName() == "dm500hd" or getBoxHostName() == "dm800se" or getBoxHostName() == "dm800" or getBoxHostName() == "dm8000":
|
if getBoxHostName() == "dm500hd" or getBoxHostName() == "dm520" or getBoxHostName() == "dm525" or getBoxHostName() == "dm800" or getBoxHostName() == "dm800se" or getBoxHostName() == "dm8000":
|
||||||
system('chmod 755 ' + LinkNeoBoot + '/bin/dminit')
|
system('chmod 755 ' + LinkNeoBoot + '/bin/dminit')
|
||||||
else:
|
else:
|
||||||
system('opkg update')
|
system('opkg update')
|
||||||
os.system('opkg install install --force-overwrite --force-reinstall python-subprocess')
|
os.system('opkg install --force-overwrite --force-reinstall python-subprocess')
|
||||||
os.system('opkg install install --force-overwrite --force-reinstall python-argparse')
|
os.system('opkg install --force-overwrite --force-reinstall python-argparse')
|
||||||
os.system('opkg install liblzo2-2')
|
os.system('opkg install liblzo2-2')
|
||||||
os.system('opkg install curl')
|
os.system('opkg install curl')
|
||||||
if getCPUtype() == 'MIPS':
|
if getCPUtype() == 'MIPS':
|
||||||
|
|||||||
Reference in New Issue
Block a user