Update setup/autoformat.sh

main
The_miro 2025-05-26 16:48:36 +02:00
parent d8663842b4
commit af4f3b8889
1 changed files with 20 additions and 17 deletions

View File

@ -6,33 +6,36 @@ read blockdevtemp
blockdev = "" blockdev = ""
if [ "$blockdevtemp" != 'm' ]; then if [ "$blockdevtemp" != 'm' ]; then
echo ''' (
echo g
echo n
echo 1
g echo +1G
n
1
+1G
n
2 echo n
echo 2
+10G
echo +10G
n echo n
3 echo 3
1
w
''' | fdisk $blockdevtemp
echo w
) | fdisk $blockdevtemp
$blockdev=$blockdevtemp $blockdev=$blockdevtemp
fi fi