mirror of
https://github.com/openwrt/packages.git
synced 2026-06-17 17:00:28 +04:00
79ae772593
Remove upstreamed patches and rework based on current openembedded patches. mdnsd now supports a -foreground parameter, which enables proper procd handling. It also supports SIGHUP reloading. Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 lines
293 B
Bash
Executable File
19 lines
293 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2009-2014 OpenWrt.org
|
|
|
|
START=60
|
|
STOP=10
|
|
PROG=/usr/sbin/mdnsd
|
|
USE_PROCD=1
|
|
|
|
start_service() {
|
|
procd_open_instance
|
|
procd_set_param command $PROG -foreground
|
|
procd_set_param respawn
|
|
procd_close_instance
|
|
}
|
|
|
|
reload_service() {
|
|
procd_send_signal $PROG
|
|
}
|