From 08064477b9bd2ea1047d2a863c5d20bd37ea9ced Mon Sep 17 00:00:00 2001 From: gutosie Date: Tue, 9 Jan 2024 11:34:11 +0200 Subject: [PATCH] Update extract.py --- NeoBoot/extract.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NeoBoot/extract.py b/NeoBoot/extract.py index ef9a26a..a91a2fb 100644 --- a/NeoBoot/extract.py +++ b/NeoBoot/extract.py @@ -252,11 +252,11 @@ def NEOBootMainEx(source, target, CopyFiles, CopyKernel, TvList, LanWlan, Sterow rc = os.system(cmd) else: if os.path.exists('/etc/wpa_supplicant.wlan0.conf'): - #cmd = 'cp -af /etc/wpa_supplicant.wlan0.conf %s/ImageBoot/%s/etc/wpa_supplicant.wlan0.conf > /dev/null 2>&1' % (media, target) - #rc = os.system(cmd) + cmd = 'cp -af /etc/wpa_supplicant.wlan0.conf %s/ImageBoot/%s/etc/wpa_supplicant.wlan0.conf > /dev/null 2>&1' % (media, target) + rc = os.system(cmd) if os.path.exists('/etc/network/interfaces'): - #cmd = 'cp -af /etc/network/interfaces %s/ImageBoot/%s/etc/network/interfaces > /dev/null 2>&1' % (media, target) - #rc = os.system(cmd) + cmd = 'cp -af /etc/network/interfaces %s/ImageBoot/%s/etc/network/interfaces > /dev/null 2>&1' % (media, target) + rc = os.system(cmd) if os.path.exists('/etc/wpa_supplicant.conf'): cmd = 'cp -af /etc/wpa_supplicant.conf %s/ImageBoot/%s/etc/wpa_supplicant.conf > /dev/null 2>&1' % (media, target) rc = os.system(cmd)