mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-09 09:39:16 +08:00
make accessrights: ignore if bluetooth stack not installed
This commit is contained in:
parent
4c8b4af337
commit
7fcb1ac5ed
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -265,10 +265,10 @@ udev:
|
||||||
accessrights:
|
accessrights:
|
||||||
ifneq ($(wildcard /etc/arch-release),) #If user is running ArchLinux
|
ifneq ($(wildcard /etc/arch-release),) #If user is running ArchLinux
|
||||||
sudo usermod -aG uucp $(USER) #Use specific command and group
|
sudo usermod -aG uucp $(USER) #Use specific command and group
|
||||||
sudo usermod -aG bluetooth $(USER) #Use specific command and group
|
getent group bluetooth >/dev/null && sudo usermod -aG bluetooth $(USER) #Use specific command and group
|
||||||
else
|
else
|
||||||
sudo adduser $(USER) dialout
|
sudo adduser $(USER) dialout
|
||||||
sudo adduser $(USER) bluetooth
|
getent group bluetooth >/dev/null && sudo adduser $(USER) bluetooth
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# easy printing of MAKE VARIABLES
|
# easy printing of MAKE VARIABLES
|
||||||
|
|
Loading…
Reference in a new issue