murex: fix gpio permissions
This commit is contained in:
parent
2b5733f6d9
commit
ee80e79952
@ -145,7 +145,7 @@
|
|||||||
if echo 17 > /sys/class/gpio/export; then
|
if echo 17 > /sys/class/gpio/export; then
|
||||||
echo high > /sys/class/gpio/gpio17/direction
|
echo high > /sys/class/gpio/gpio17/direction
|
||||||
fi
|
fi
|
||||||
chgrp dialout /sys/class/gpio/gpio17/value
|
chown octoprint:dialout /sys/class/gpio/gpio17/value
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
users.users.${config.services.octoprint.user}.extraGroups = [
|
users.users.${config.services.octoprint.user}.extraGroups = [
|
||||||
|
Loading…
Reference in New Issue
Block a user