Skip to content

Commit

Permalink
create the usb group as "system" group
Browse files Browse the repository at this point in the history
  • Loading branch information
pikacic authored Apr 7, 2017
1 parent 4de7760 commit b19e673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
add_custom_target(install_udev
COMMAND cp 99-tomtom.rules /etc/udev/rules.d
COMMAND udevadm control --reload-rules
COMMAND addgroup usb
COMMAND addgroup --system usb
COMMAND usermod -a -Gusb `logname`
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
endif()

0 comments on commit b19e673

Please sign in to comment.