Add libcap and mdnsresponder

This commit is contained in:
Steven Barth
2014-06-03 12:51:24 +02:00
parent 7e14a3b4d7
commit 4132123ce5
7 changed files with 939 additions and 0 deletions
@@ -0,0 +1,4 @@
"OpenWrt SSH"
_ssh._tcp. local
22
OpenWrt SSH server
@@ -0,0 +1,14 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2009-2011 OpenWrt.org
START=61
SERVICE_USE_PID=1
start() {
service_start /usr/bin/mDNSResponder -b -f /etc/mDNSResponder.conf
}
stop() {
service_stop /usr/bin/mDNSResponder
}
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2009-2014 OpenWrt.org
START=60
STOP=10
USE_PROCD=1
start_service() {
procd_open_instance
procd_set_param command /usr/sbin/mdnsd -debug
procd_set_param respawn
procd_close_instance
}