#!/bin/sh if [ -x /usr/sbin/sslsvd -a -x /usr/sbin/mcored -a -x /usr/sbin/udhcpc -a -f /etc/conf.d/mcored ] then if getargbool 1 rd.mcored then # setup networking info "Setup networking" /usr/sbin/udhcpc eth0 # print ip config info "Current ip settings:" info "$(ip addr)" # start mcored info "Starting mcore daemon" . /etc/conf.d/mcored /usr/sbin/sslsvd -U ${SSL_USER} -/ ${CHROOT_DIR} \ -Z ${SSL_CERT} -K ${SSL_KEY} \ 0 6666 /usr/sbin/mcored fi fi