mirror of
https://github.com/dewomser/Raspi-auto-downloader.git
synced 2026-03-13 16:57:16 +01:00
Und immer wieder grüsst das Murmeltier .. shellcheck
This commit is contained in:
parent
312a91a6fd
commit
b0b72d2f9b
1 changed files with 2 additions and 2 deletions
|
|
@ -109,10 +109,10 @@ if [ "$endgueltigja" == "y" ]; then
|
|||
# Quelle : https://askubuntu.com/questions/828545/using-dd-without-sudo
|
||||
|
||||
# Wenn die nächsten 3 Zeilen aktiviert sind: "don't blame me!"
|
||||
umount /dev/"${laufwerke2[0]}"[0-9] 1&>2
|
||||
umount /dev/"${laufwerke2[0]}"[0-9] > /dev/null 2>&1
|
||||
unzip -p raspi"$attribut".zip | dd of=/dev/"${laufwerke2[0]}" bs=4M conv=fsync status=progress || echo "Es gibt Probleme mit Schreibrechten.Ab Zeile 105 gibts Hilfe"
|
||||
echo "Tatatatah ! fertig"
|
||||
umount /dev/"${laufwerke2[0]}"[0-9] 1&>2
|
||||
umount /dev/"${laufwerke2[0]}"[0-9] > /dev/null 2>&1
|
||||
else
|
||||
exit
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue