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}")
|
print(f"changing dir to {PWD}")
|
||||||
os.chdir(PWD)
|
os.chdir(PWD)
|
||||||
print(f"copying wpa_supplicant to {tempdir}/")
|
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")
|
print("unmounting")
|
||||||
subprocess.run(umount_cmd)
|
subprocess.run(umount_cmd)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user