1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

comms/dcf77pi: add a tip to make it possible to run the programs as non-root

This commit is contained in:
Rene Ladan 2017-04-27 20:00:17 +00:00
parent b935892082
commit 71d2f2e7d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=439563

View File

@ -0,0 +1,9 @@
dcf77pi and readpin need to be run as root due to the permissions of
/dev/gpioc* , but this can be prevented by changing the permissions of the
device node:
# chmod 0660 /dev/gpioc*
And to make the change persistent across reboots:
# echo "perm gpioc* 0660" >> /etc/devfs.conf