Update plugin.py

This commit is contained in:
gutosie
2023-01-15 14:10:03 +02:00
committed by GitHub
parent de034f017b
commit 428c0d44d0

View File

@@ -610,12 +610,12 @@ class NeoBootInstallation(Screen):
writefile.close()
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')
else:
system('opkg update')
os.system('opkg install 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-subprocess')
os.system('opkg install --force-overwrite --force-reinstall python-argparse')
os.system('opkg install liblzo2-2')
os.system('opkg install curl')
if getCPUtype() == 'MIPS':