Skip to content

Commit

Permalink
updatehub-server: Update udev rule to use --probe
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
  • Loading branch information
otavio committed Jul 30, 2018
1 parent 3ceecc0 commit 7bc6511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/updatehub-server/udev.rules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ENV{ID_FS_LABEL}=="updatehub|UPDATEHUB", \
ACTION=="add", \
SUBSYSTEM=="block", \
RUN+="/bin/mkdir -p /mnt/updatehub", \
RUN+="/bin/sh -c '/bin/echo /usr/bin/updatehub-server --mount /dev/%k --fstype $env{ID_FS_TYPE} --wait /mnt/updatehub | at -M now'"
RUN+="/bin/sh -c '/bin/echo /usr/bin/updatehub-server --mount /dev/%k --fstype $env{ID_FS_TYPE} --probe /mnt/updatehub | at -M now'"

ENV{ID_FS_LABEL}=="updatehub|UPDATEHUB", \
ENV{DEVTYPE}=="partition", \
Expand Down

0 comments on commit 7bc6511

Please sign in to comment.