moved the config for devfs helpers
This commit is contained in:
parent
ee684a94bc
commit
59c28d0e37
6
conf.d/devfs-links.sh
Normal file
6
conf.d/devfs-links.sh
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env watchman
|
||||||
|
# Config for devfs-links
|
||||||
|
|
||||||
|
cfg_links=(
|
||||||
|
'/proc/self/fd;/dev/fd'
|
||||||
|
)
|
8
conf.d/devfs-permissions.sh
Normal file
8
conf.d/devfs-permissions.sh
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env watchman
|
||||||
|
# Config for devfs-permissions
|
||||||
|
|
||||||
|
cfg_devices=(
|
||||||
|
'/dev/snd;root:audio;770'
|
||||||
|
'/dev/dri;root:video;770'
|
||||||
|
'/dev/fuse;root:root;777'
|
||||||
|
)
|
|
@ -4,10 +4,7 @@
|
||||||
|
|
||||||
service_type='oneshot'
|
service_type='oneshot'
|
||||||
|
|
||||||
# Config
|
# Config moved to conf.d
|
||||||
cfg_links=(
|
|
||||||
'/proc/self/fd;/dev/fd'
|
|
||||||
)
|
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
for l in "${cfg_links[@]}"; do
|
for l in "${cfg_links[@]}"; do
|
||||||
|
|
|
@ -4,12 +4,7 @@
|
||||||
|
|
||||||
service_type='oneshot'
|
service_type='oneshot'
|
||||||
|
|
||||||
# Config
|
# Config moved to conf.d
|
||||||
cfg_devices=(
|
|
||||||
'/dev/snd;root:audio;770'
|
|
||||||
'/dev/dri;root:video;770'
|
|
||||||
'/dev/fuse;root:root;777'
|
|
||||||
)
|
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
for d in "${cfg_devices[@]}"; do
|
for d in "${cfg_devices[@]}"; do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user