1 #!/bin/sh /etc/rc.common
3 # XXX - is there something that should cause reload? or can we just
4 # use info from netifd and let it handle dynamic changes? let's hope
11 DNSMASQ_DIR
=/tmp
/dnsmasq.d
12 DNSMASQ_SCRIPT
=/etc
/init.d
/dnsmasq
13 OHP_SCRIPT
=/usr
/sbin
/hnetd-ohp-script
14 OHP_BINARY
=/usr
/sbin
/ohybridproxy
19 procd_set_param
command /usr
/sbin
/hnetd
21 # SD parts are here (make configurable?)
22 if [ -f $OHP_BINARY -a -f $DNSMASQ_SCRIPT ]
25 procd_append_param
command -d $DNSMASQ_SCRIPT
26 procd_append_param
command -f $DNSMASQ_DIR/hnet.conf
27 procd_append_param
command -o $OHP_SCRIPT
28 HOSTNAME
=`cat /proc/sys/kernel/hostname`
31 procd_append_param
command -n "$HOSTNAME"
35 procd_append_param
command -s /tmp
/hnetd.pa_state
38 procd_append_param
command -r /usr
/sbin
/hnetd-routing
40 procd_set_param respawn