ssm-services/init.d/vdevd

15 lines
239 B
Plaintext
Raw Normal View History

2015-05-13 11:30:54 +00:00
#!/usr/bin/env watchman
#service_respawn='true'
service_command='/usr/bin/vdevd'
2015-08-22 15:11:57 +00:00
service_args='-f /dev'
service_tmpdirs=( '/run/vdev' )
2015-05-13 11:30:54 +00:00
start() {
2015-08-22 15:11:57 +00:00
if ! [[ -h /run/udev ]]; then
ln -s /dev/metadata/udev /run/udev
fi
2015-05-13 11:30:54 +00:00
watchman.start
}