Hey David, On Fri, Apr 07, 2006 at 12:14:27AM +0200, David Härdeman wrote: > + # First of all, check if this is a dm-crypt device > + type="" > + if [ -x /sbin/dmsetup ]; then > + type=$(/sbin/dmsetup table $swap | head -1 | cut -d " " -f3) > + fi
I think $swap here is a typo? Shouldn't it be $1? cheers, Max