. /mod/etc/conf/samba.cfg [ -n "$SAMBA_INTERFACES" ] && BINDADDRESS="${SAMBA_INTERFACES%%/*}:" [ "${BINDADDRESS##*.}" == "$BINDADDRESS" ] && BINDPROTO=$1 inetdcfg_desc="Samba-smbd" inetdcfg_port="${BINDADDRESS}139 ${BINDADDRESS}445" inetdcfg_sock=stream inetdcfg_proto=tcp$BINDPROTO inetdcfg_flags=nowait inetdcfg_user=root inetdcfg_exe=/sbin/smbd inetdcfg_arg0=smbd inetdcfg_args="-s /mod/etc/samba/smb.conf"