All MicroEvals
RAUC hook snippet
Create MicroEval
Header image for RAUC hook snippet

RAUC hook snippet

Prompt

what is this code snippet doing case "$RAUC_IMAGE_NAME" in /*) IMG="$RAUC_IMAGE_NAME" ;; *) IMG="$(dirname "$(readlink -f "$0")")/$RAUC_IMAGE_NAME" ;; esac if [ ! -f "$IMG" ]; then log "slot-install: image $IMG not found in bundle" exit 1 fi

Drag to resize
Drag to resize