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:
parent
b935892082
commit
71d2f2e7d1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=439563
9
comms/dcf77pi/pkg-message
Normal file
9
comms/dcf77pi/pkg-message
Normal 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
|
Loading…
Reference in New Issue
Block a user