mirror of
https://github.com/openwrt/video.git
synced 2025-12-21 17:04:37 +04:00
7 lines
123 B
Bash
7 lines
123 B
Bash
#!/bin/sh
|
|
|
|
[ "$ACTION" = "add" ] && [ -n "$DEVNAME" ] && {
|
|
chown root:video "/dev/$DEVNAME"
|
|
chmod 0660 "/dev/$DEVNAME"
|
|
}
|