From a84efeb5d52edb8b3d2caa262889ecd6c175e002 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Mon, 8 May 2017 09:04:26 +0100 Subject: [PATCH] stop using sudo for Pi gpio access MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (as PI user doesn’t need it) - other users must be in gpio group --- nodes/core/hardware/nrgpio | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/core/hardware/nrgpio b/nodes/core/hardware/nrgpio index a2fd62db9..d81fcf443 100755 --- a/nodes/core/hardware/nrgpio +++ b/nodes/core/hardware/nrgpio @@ -14,4 +14,4 @@ # BASEDIR=$(dirname $0) -sudo python -u $BASEDIR/nrgpio.py $@ +python -u $BASEDIR/nrgpio.py $@