wok diff dmraid/stuff/grub-dmraid @ rev 14587

Add missing deps coreutils-disk and coreutils-redirection for use tee and df command instead of Busybox
author Stanislas Leduc <shann@slitaz.org>
date Sun May 26 19:06:03 2013 +0200 (2013-05-26)
parents 1a703730ac71
children 02c70d036ea0
line diff
     1.1 --- a/dmraid/stuff/grub-dmraid	Fri Sep 04 22:07:47 2009 +0200
     1.2 +++ b/dmraid/stuff/grub-dmraid	Sun May 26 19:06:03 2013 +0200
     1.3 @@ -17,6 +17,9 @@
     1.4  	exit 1
     1.5  fi
     1.6  
     1.7 +# Ensure raid is active
     1.8 +[ ! -e $dev ] && dmraid-start
     1.9 +
    1.10  geometry="$(fdisk -l $dev | grep heads | sed \
    1.11  's|\(.*\) heads, \(.*\) sectors/track, \(.*\) cylinders|\3 \1 \2|')"
    1.12