Commit 8090c9bb authored by Leon Leijssen's avatar Leon Leijssen Committed by Stefano Babic
Browse files

Trigger swupdate on usb media only



The swupdate usb udev rule was triggering on devices
which were not connected throug USB.
Signed-off-by: default avatarLeon Leijssen <leon.leijssen@topic.nl>
Reviewed-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
parent b4ad2077
ACTION=="add", KERNEL=="sd*", SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="filesystem", TAG+="systemd", ENV{SYSTEMD_WANTS}+="swupdate-usb@%k.service"
ACTION=="add", KERNEL=="sd*", SUBSYSTEM=="block", ENV{ID_BUS}=="usb", ENV{ID_FS_USAGE}=="filesystem", TAG+="systemd", ENV{SYSTEMD_WANTS}+="swupdate-usb@%k.service"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment