From 02b92c08a07bb712870e47b5bc3eb1b9ca4e50a0 Mon Sep 17 00:00:00 2001 From: gutosie Date: Sat, 18 Jan 2020 22:20:12 +0200 Subject: [PATCH] 8.15 --- NeoBoot/extract.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/NeoBoot/extract.py b/NeoBoot/extract.py index 8809189..6553bed 100644 --- a/NeoBoot/extract.py +++ b/NeoBoot/extract.py @@ -289,13 +289,17 @@ def NEOBootMainEx(source, target, stopenigma, CopyFiles, CopyKernel, TvList, Mon rc = os.system(cmd) cmd = 'echo "exit 0" >> %s/ImageBoot/%s/etc/init.d/udev' % (media, target) 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)): cmd = 'echo " " >> %s/ImageBoot/%s/etc/init.d/mdev' % (media, target) rc = os.system(cmd) cmd = 'echo "mount -a" >> %s/ImageBoot/%s/etc/init.d/mdev' % (media, target) rc = os.system(cmd) - + cmd = 'chmod 0755 %s/ImageBoot/%s/etc/init.d/mdev' % (media, target) + rc = os.system(cmd) + if LanWlan == 'True': if os.path.exists('%s/ImageBoot/%s/etc/vtiversion.info' % (media, target)): os.system('echo "Nie skopiowano LAN-WLAN, nie zalecane dla tego image."')