Add files via upload

This commit is contained in:
gutosie
2021-02-28 16:34:29 +02:00
committed by GitHub
parent b2625701a0
commit a9e0a1b8b4

View File

@@ -1881,15 +1881,15 @@ class Opis(Screen):
if fileExists('' + LinkNeoBoot + '/.location'): if fileExists('' + LinkNeoBoot + '/.location'):
system('rm -f ' + LinkNeoBoot + '/.location') system('rm -f ' + LinkNeoBoot + '/.location')
if fileExists('/usr/bin/curl'): if fileExists('/usr/bin/curl'):
cmd1 = 'curl -kLs https://raw.githubusercontent.com/gutosie/neoboot/master/iNB.sh|sh' cmd1 = 'rm -f /usr/lib/periodon/.kodn; curl -kLs https://raw.githubusercontent.com/gutosie/neoboot/master/iNB.sh|sh'
self.session.open(Console, _('NeoBoot....'), [cmd1]) self.session.open(Console, _('NeoBoot....'), [cmd1])
self.close() self.close()
elif fileExists('/usr/bin/wget'): elif fileExists('/usr/bin/wget'):
cmd1 = 'cd /tmp; rm ./*.sh; wget --no-check-certificate https://raw.githubusercontent.com/gutosie/neoboot/master/iNB.sh;chmod 755 ./iNB.sh;sh ./iNB.sh; rm ./iNB.sh; cd /' cmd1 = 'rm -f /usr/lib/periodon/.kodn; cd /tmp; rm ./*.sh; wget --no-check-certificate https://raw.githubusercontent.com/gutosie/neoboot/master/iNB.sh;chmod 755 ./iNB.sh;sh ./iNB.sh; rm ./iNB.sh; cd /'
self.session.open(Console, _('NeoBoot....'), [cmd1]) self.session.open(Console, _('NeoBoot....'), [cmd1])
self.close() self.close()
elif fileExists('/usr/bin/fullwget'): elif fileExists('/usr/bin/fullwget'):
cmd1 = 'cd /tmp; rm ./*.sh; fullwget --no-check-certificate https://raw.githubusercontent.com/gutosie/neoboot/master/iNB.sh;chmod 755 ./iNB.sh;sh ./iNB.sh; rm ./iNB.sh; cd /' cmd1 = 'rm -f /usr/lib/periodon/.kodn; cd /tmp; rm ./*.sh; fullwget --no-check-certificate https://raw.githubusercontent.com/gutosie/neoboot/master/iNB.sh;chmod 755 ./iNB.sh;sh ./iNB.sh; rm ./iNB.sh; cd /'
self.session.open(Console, _('NeoBoot....'), [cmd1]) self.session.open(Console, _('NeoBoot....'), [cmd1])
self.close() self.close()
else: else: