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 = ""
if [ "$blockdevtemp" != 'm' ]; then
echo '''
(
echo g
echo n
echo 1
g
n
1
+1G
echo +1G
n
2
+10G
echo n
echo 2
echo +10G
n
3
1
echo n
echo 3
w
''' | fdisk $blockdevtemp
echo w
) | fdisk $blockdevtemp
$blockdev=$blockdevtemp
fi