mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-27 10:29:18 +08:00
Fix make accessrights
for Fedora
This commit is contained in:
parent
086d6b6f65
commit
2c1fe700e2
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -267,6 +267,10 @@ ifneq ($(wildcard /etc/arch-release),)
|
|||
#If user is running ArchLinux, use specific command and group
|
||||
$(Q)$(SUDO) $(USERMOD) uucp $(USER)
|
||||
$(Q)$(GETENT_BL) >/dev/null && $(SUDO) $(USERMOD) bluetooth $(USER) || true
|
||||
else ifneq ($(wildcard /etc/fedora-release),)
|
||||
# If the user is running Fedora, use `usermod` with the dialout group
|
||||
$(Q)$(SUDO) $(USERMOD) dialout $(USER)
|
||||
$(Q)$(GETENT_BL) >/dev/null && $(SUDO) $(USERMOD) bluetooth $(USER) || true
|
||||
else
|
||||
$(Q)$(SUDO) $(ADDUSER) $(USER) dialout
|
||||
$(Q)$(GETENT_BL) >/dev/null && $(SUDO) $(ADDUSER) $(USER) bluetooth || true
|
||||
|
|
Loading…
Reference in a new issue