> +> +case "$command" inwhitespace inconsistency.
> + setup)
> + check_libnl_tools
> + check_modules
> +
> + claim_lock "pickifb"
> + setup_ifb
> + redirect_vif_traffic "$vifname" "$IFB"
> + add_plug_qdisc "$vifname" "$IFB"
> + release_lock "pickifb"
> +
> + #not using xenstore_write that automatically exits on error
> + # because we need to cleanup
Do you mean log debug or something here?
> + _xenstore_write "$XENBUS_PATH/ifb" "$IFB" || xs_write_failed "$vifname" "$IFB"
> + ;;
> + teardown)
> + : ${IFB?}