diff options
| author | Christian Schlüter <chschlue@gmail.com> | 2018-07-11 06:49:42 +0200 |
|---|---|---|
| committer | Christian Schlüter <chschlue@gmail.com> | 2018-07-11 06:49:42 +0200 |
| commit | 9adfac696473dabcad0c9b3ae02098c019a01a1c (patch) | |
| tree | 02a7ad3c59a9f2b0a073677e06a089c449f5f649 | |
| parent | 6e0b7a4a96a17efc576717384287bd2718c4976f (diff) | |
Fix parted invocation again
| -rwxr-xr-x | rpi3-resizerootfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpi3-resizerootfs b/rpi3-resizerootfs index e62f699..bdba954 100755 --- a/rpi3-resizerootfs +++ b/rpi3-resizerootfs @@ -4,6 +4,6 @@ roottmp=$(lsblk -l -o MAJ:MIN,MOUNTPOINT | grep '/$') rootpart=/dev/block/${roottmp% /} rootdev=${rootpart%:*}:0 -echo 'y\n-1s\n' | parted $rootdev resizepart 2 +printf "y\n-1s\n" | parted $rootdev resizepart 2 resize2fs $rootpart |
