Skip to content

Commit

Permalink
Add a check for the video group
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanor committed Nov 20, 2016
1 parent 08b0944 commit 15626a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions udev/Makefile
Expand Up @@ -35,6 +35,9 @@ check:
diff -u $$HELP /etc/udev/rules.d/$$HELP || exit 1; \
echo " Good!"; \
done
if ! id | grep -qF '(video)'; then \
echo "Not a member of the video group"; exit 1; \
fi

uninstall:
sudo rm -f /etc/udev/rules.d/*hdmi2usb*
Expand Down

0 comments on commit 15626a3

Please sign in to comment.