aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2017-04-28 04:00:17 +0800
committerrene <rene@FreeBSD.org>2017-04-28 04:00:17 +0800
commit5418b4c355077018d94d2233ced3a055d73dbd84 (patch)
treedc4e90e499aa39947ee35133176ac91a439d7abb /comms
parenteeb159393b649566376b7ddcfc0c3579a23e384e (diff)
downloadfreebsd-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-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