mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-02 20:25:47 +01:00
Update mips_run.py
This commit is contained in:
@@ -109,6 +109,8 @@ class StartImage(Screen):
|
|||||||
if fileExists('/media/InternalFlash/etc/init.d/neobootmount.sh'):
|
if fileExists('/media/InternalFlash/etc/init.d/neobootmount.sh'):
|
||||||
os.system('rm -f /media/InternalFlash/etc/init.d/neobootmount.sh;')
|
os.system('rm -f /media/InternalFlash/etc/init.d/neobootmount.sh;')
|
||||||
if (getSupportedTuners()):
|
if (getSupportedTuners()):
|
||||||
|
if fileExists('%sImageBoot/%s/squashfs-images' % (getNeoLocation(), getImageNeoBoot())):
|
||||||
|
os.system('ln -sf "%sImageBoot/%s/squashfs-images" "//squashfs-images"' % (getNeoLocation(), getImageNeoBoot()))
|
||||||
if getImageNeoBoot() == 'Flash':
|
if getImageNeoBoot() == 'Flash':
|
||||||
cmd = 'ln -sfn /sbin/init.sysvinit /sbin/init'
|
cmd = 'ln -sfn /sbin/init.sysvinit /sbin/init'
|
||||||
rc = os.system(cmd)
|
rc = os.system(cmd)
|
||||||
|
|||||||
Reference in New Issue
Block a user