This commit is contained in:
Jack L. Frost 2015-05-13 14:30:54 +03:00
parent b51c96ba87
commit 2093fe139b
1 changed files with 14 additions and 0 deletions

14
init.d/vdevd Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env watchman
vdevd_dev='/dev'
vdevd_rundir='/run/vdev'
#service_respawn='true'
service_command='/usr/bin/vdevd'
service_args="-f $vdevd_dev"
start() {
mkdir -p "$vdevd_rundir"
"$service_command" -1 "$vdevd_dev"
watchman.start
}