#!/bin/sh

dev=${1%//*}
id=${1#*//}

autopartition $dev $id
code=$?
if [ $code -eq 255 ]; then
	code=99
fi

exit $code
