aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2017-04-27 20:00:17 +0000
committerRene Ladan <rene@FreeBSD.org>2017-04-27 20:00:17 +0000
commit71d2f2e7d1698184cf146b2d170ccb274932bf8a (patch)
treedc4e90e499aa39947ee35133176ac91a439d7abb /comms
parentb9358920826cd0864071db4817081f6ef45ab364 (diff)
downloadports-71d2f2e7d1698184cf146b2d170ccb274932bf8a.tar.gz
ports-71d2f2e7d1698184cf146b2d170ccb274932bf8a.zip
comms/dcf77pi: add a tip to make it possible to run the programs as non-root
Notes
Notes: svn path=/head/; revision=439563
Diffstat (limited to 'comms')
-rw-r--r--comms/dcf77pi/pkg-message9
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