Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. #:# LED class vibrator
  2. #:/sys/class/leds/vibrator state 0660 system input
  3. # sys rule
  4. DEVPATH=="/class/leds/vibrator", RUN+="/bin/chmod 0660 /sys/$devpath/state", RUN+="/bin/chown system:input /sys/$devpath/state"
  5. #:/sys/class/leds/vibrator duration 0660 system input
  6. # sys rule
  7. DEVPATH=="/class/leds/vibrator", RUN+="/bin/chmod 0660 /sys/$devpath/duration", RUN+="/bin/chown system:input /sys/$devpath/duration"
  8. #:/sys/class/leds/vibrator activate 0660 system input
  9. # sys rule
  10. DEVPATH=="/class/leds/vibrator", RUN+="/bin/chmod 0660 /sys/$devpath/activate", RUN+="/bin/chown system:input /sys/$devpath/activate"
  11. #:/sys/class/leds/vibrator extra 0660 system input
  12. # sys rule
  13. DEVPATH=="/class/leds/vibrator", RUN+="/bin/chmod 0660 /sys/$devpath/extra", RUN+="/bin/chown system:input /sys/$devpath/extra"
  14. #:/sys/class/leds/vibrator seq 0660 system input
  15. # sys rule
  16. DEVPATH=="/class/leds/vibrator", RUN+="/bin/chmod 0660 /sys/$devpath/seq", RUN+="/bin/chown system:input /sys/$devpath/seq"
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement