diff options
author | rene <rene@FreeBSD.org> | 2017-04-28 04:00:17 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2017-04-28 04:00:17 +0800 |
commit | 5418b4c355077018d94d2233ced3a055d73dbd84 (patch) | |
tree | dc4e90e499aa39947ee35133176ac91a439d7abb /comms | |
parent | eeb159393b649566376b7ddcfc0c3579a23e384e (diff) | |
download | freebsd-ports-gnome-5418b4c355077018d94d2233ced3a055d73dbd84.tar.gz freebsd-ports-gnome-5418b4c355077018d94d2233ced3a055d73dbd84.tar.zst freebsd-ports-gnome-5418b4c355077018d94d2233ced3a055d73dbd84.zip |
comms/dcf77pi: add a tip to make it possible to run the programs as non-root
Diffstat (limited to 'comms')
-rw-r--r-- | comms/dcf77pi/pkg-message | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/comms/dcf77pi/pkg-message b/comms/dcf77pi/pkg-message new file mode 100644 index 000000000000..8f2a35256526 --- /dev/null +++ b/comms/dcf77pi/pkg-message @@ -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 |