wongsyrone / openwrt-1

已废弃DEPRECATED-see https://github.com/wongsyrone/lede-1 | modifications on OpenWrt official repository
https://www.lede-project.org/
GNU General Public License v2.0
37 stars 19 forks source link

pcap-dnsproxy_1 #48

Closed wongsyrone closed 9 years ago

wongsyrone commented 9 years ago

替换默认监听端口,导致dnsmasq 不能启动 结束进程使用killall -9 修改默认模式,支持路由后的设备解析

wongsyrone commented 9 years ago
SERVICE_USE_PID=1
SERVICE_WRITE_PID=1
SERVICE_DAEMONIZE=1

# MUST set Config.conf before 'enable' this service

start() {
    service_start /usr/sbin/Pcap_DNSProxy -c /etc/pcap-dnsproxy
}

stop() {
    killall -SIGTERM Pcap_DNSProxy
}