openwrtv4/package/system/fstools/files/blockd.init
John Crispin 7e4b869c45 fstools: add blockd
this daemon replaces mountd.

Signed-off-by: John Crispin <john@phrozen.org>
2017-03-06 07:16:50 +01:00

21 lines
288 B
Bash
Executable file

#!/bin/sh /etc/rc.common
START=80
USE_PROCD=1
PROG=/sbin/blockd
service_triggers() {
procd_add_reload_trigger "fstab"
}
reload_service() {
block autofs start
}
start_service() {
procd_open_instance
procd_set_param command "$PROG"
procd_set_param respawn
procd_close_instance
}