# SPDX-License-Identifier: LGPL-2.1+

ACTION=="remove", GOTO="casync_end"

SUBSYSTEM=="block", KERNEL=="nbd*", IMPORT{program}="@bindir_unquoted@/casync udev %N"
SUBSYSTEM=="block", KERNEL=="nbd*", ENV{CASYNC_NAME}=="?*", SYMLINK+="$env{CASYNC_NAME}"

LABEL="casync_end"
