specify file name
This commit is contained in:
2
flash.py
2
flash.py
@@ -61,7 +61,7 @@ def flash(dev):
|
||||
print(f"changing dir to {PWD}")
|
||||
os.chdir(PWD)
|
||||
print(f"copying wpa_supplicant to {tempdir}/")
|
||||
copyfile(f"wpa_supplicant.conf", f"{tempdir}/")
|
||||
copyfile(f"wpa_supplicant.conf", f"{tempdir}/wpa_supplicant.conf")
|
||||
print("unmounting")
|
||||
subprocess.run(umount_cmd)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user