mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-28 01:34:38 +01:00
next onewire setup test
This commit is contained in:
parent
60108f0594
commit
f03bb14143
1 changed files with 2 additions and 0 deletions
|
@ -50,7 +50,9 @@ class CraftBeerPiCli():
|
|||
f.write(line)
|
||||
destfile="/boot/config.txt"
|
||||
|
||||
#copy and remove afterwards as mv will work, but raise an error message due to different file owners
|
||||
shutil.os.system('sudo cp "{}" "{}"'.format(configtempfile,destfile))
|
||||
shutil.os.system('rm -rf "{}"'.format(configtempfile))
|
||||
|
||||
print("/boot/config.txt created")
|
||||
|
||||
|
|
Loading…
Reference in a new issue