From: Arne Fitzenreiter Date: Mon, 23 Dec 2013 21:28:27 +0000 (+0100) Subject: partresize: fix partresize for new arm image layout. X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=bb234c63ef0fd15a68044db3b172247884cbaa34 partresize: fix partresize for new arm image layout. --- diff --git a/src/initscripts/init.d/partresize b/src/initscripts/init.d/partresize index d4e4db268..909d63f66 100644 --- a/src/initscripts/init.d/partresize +++ b/src/initscripts/init.d/partresize @@ -6,7 +6,7 @@ # # Authors : Arne Fitzenreiter - arne_f@ipfire.org # -# Version : 1.02 +# Version : 1.03 # # Notes : # @@ -37,7 +37,7 @@ case "${1}" in fi boot_mesg "Change Partition ${DRV}3 to all free space ..." - echo -e 'd\n3\nn\np\n3\n\n\nw\nq\n' | fdisk ${DRV} + echo -e ',+' | sfdisk --no-reread -N3 ${DRV} 2>/dev/null # Erase symlink, it should run only once rm -f /etc/rc.d/rcsysinit.d/S25partresize