moved the config for devfs helpers

This commit is contained in:
Jack L. Frost 2014-07-28 02:09:11 +04:00
parent ee684a94bc
commit 59c28d0e37
4 changed files with 16 additions and 10 deletions

6
conf.d/devfs-links.sh Normal file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env watchman
# Config for devfs-links
cfg_links=(
'/proc/self/fd;/dev/fd'
)

View 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'
)

View File

@ -4,10 +4,7 @@
service_type='oneshot'
# Config
cfg_links=(
'/proc/self/fd;/dev/fd'
)
# Config moved to conf.d
start() {
for l in "${cfg_links[@]}"; do

View File

@ -4,12 +4,7 @@
service_type='oneshot'
# Config
cfg_devices=(
'/dev/snd;root:audio;770'
'/dev/dri;root:video;770'
'/dev/fuse;root:root;777'
)
# Config moved to conf.d
start() {
for d in "${cfg_devices[@]}"; do