switch2testserver "${SDMUX}"
-unpack_image "${BOOT_IMAGE}" "${IMAGE_UNPACKED}"
-
-mount_image "${IMAGE_UNPACKED}/boot.img" "${IMAGE_MOUNTPOINT}"
-replace_params "${IMAGE_MOUNTPOINT}"
-unmount_image "${IMAGE_MOUNTPOINT}"
-
unpack_image "${USR_IMAGE}" "${IMAGE_UNPACKED}"
mount_image "${IMAGE_UNPACKED}/rootfs.img" "${IMAGE_MOUNTPOINT}"
test -n "${1}" || die "Too few arguments!"
sdd="sudo dd bs=1M"
-test -b "${1}1" || die "No ${1}1"
-$sdd if=boot.img "of=${1}1"
-test -b "${1}2" || die "No ${1}2"
-$sdd if=modules.img "of=${1}2"
+#test -b "${1}1" || die "No ${1}1"
+#$sdd if=boot.img "of=${1}1"
+#test -b "${1}2" || die "No ${1}2"
+#$sdd if=modules.img "of=${1}2"
test -b "${1}3" || die "No ${1}3"
$sdd if=rootfs.img "of=${1}3"
test -b "${1}5" || die "No ${1}5"