mirror of
https://mojerepo.cf/NeoBoot/NeoBoot-9.git
synced 2025-10-30 18:25:49 +01:00
8.15
This commit is contained in:
@@ -289,13 +289,17 @@ def NEOBootMainEx(source, target, stopenigma, CopyFiles, CopyKernel, TvList, Mon
|
|||||||
rc = os.system(cmd)
|
rc = os.system(cmd)
|
||||||
cmd = 'echo "exit 0" >> %s/ImageBoot/%s/etc/init.d/udev' % (media, target)
|
cmd = 'echo "exit 0" >> %s/ImageBoot/%s/etc/init.d/udev' % (media, target)
|
||||||
rc = os.system(cmd)
|
rc = os.system(cmd)
|
||||||
|
cmd = 'chmod 0755 %s/ImageBoot/%s/etc/init.d/udev' % (media, target)
|
||||||
|
rc = os.system(cmd)
|
||||||
|
|
||||||
if os.path.exists('%s/ImageBoot/%s/etc/init.d/mdev'% (media, target)):
|
if os.path.exists('%s/ImageBoot/%s/etc/init.d/mdev'% (media, target)):
|
||||||
cmd = 'echo " " >> %s/ImageBoot/%s/etc/init.d/mdev' % (media, target)
|
cmd = 'echo " " >> %s/ImageBoot/%s/etc/init.d/mdev' % (media, target)
|
||||||
rc = os.system(cmd)
|
rc = os.system(cmd)
|
||||||
cmd = 'echo "mount -a" >> %s/ImageBoot/%s/etc/init.d/mdev' % (media, target)
|
cmd = 'echo "mount -a" >> %s/ImageBoot/%s/etc/init.d/mdev' % (media, target)
|
||||||
rc = os.system(cmd)
|
rc = os.system(cmd)
|
||||||
|
cmd = 'chmod 0755 %s/ImageBoot/%s/etc/init.d/mdev' % (media, target)
|
||||||
|
rc = os.system(cmd)
|
||||||
|
|
||||||
if LanWlan == 'True':
|
if LanWlan == 'True':
|
||||||
if os.path.exists('%s/ImageBoot/%s/etc/vtiversion.info' % (media, target)):
|
if os.path.exists('%s/ImageBoot/%s/etc/vtiversion.info' % (media, target)):
|
||||||
os.system('echo "Nie skopiowano LAN-WLAN, nie zalecane dla tego image."')
|
os.system('echo "Nie skopiowano LAN-WLAN, nie zalecane dla tego image."')
|
||||||
|
|||||||
Reference in New Issue
Block a user