20
boot_mesg "Background Autoresize root partition to use the whole drive"
22
ROOT=`mount | grep -m1 " / " | cut -d" " -f1`;
23
DRV=${ROOT::`expr length $ROOT`-1}
25
boot_mesg "resize ${DRV}3 ..."
26
nice -n 19 $0 background ${DRV}3 > /dev/null &
31
# Erase symlink, it should run only once
32
rm -f /etc/rc.d/rcsysinit.d/S42fsresize
20
if [ -e "/.resizefs" ]; then
21
boot_mesg "Re-sizing root partition..."
24
mount | while read -r dev tmp1 mountpoint tmp2; do
25
# Skip generic entries
26
[ "${dev}" = "rootfs" ] && continue
28
if [ "${mountpoint}" = "/" ]; then