etc: rename script more generic.

Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: Ia3cdc818a9156a4aaad346e63efdea6e32ab864b
This commit is contained in:
Steve Jeong
2023-04-20 10:09:48 +09:00
parent 84e3f6d04d
commit df2e302ebe
9 changed files with 15 additions and 16 deletions

View File

@@ -1,11 +1,10 @@
#!/bin/sh
# /etc/odroid-wpi-pwm.sh
# /etc/odroid-allowuser.sh
# written by Steve Jeong <how2soft@gmail.com>
#
# allow access pwm sys node (with odroid-wiringpi gpiomem).
# udev rules: 99-odroid-wiringpi-pwm.rules
# param: "/sys/class/pwm/pwmchip*" default.
# allow access sys node (with odroid-wiringpi gpiomem).
# udev rules: 99-odroid-wiringpi-*.rules
cutoff=0

View File

@@ -1,2 +1,2 @@
# Allow members of the odroid group change permission of wpi
%odroid ALL = (ALL) NOPASSWD: /usr/bin/sh /etc/odroid-wpi-pwm.sh*
%odroid ALL = (ALL) NOPASSWD: /usr/bin/sh /etc/odroid-allowuser.sh*