# matheuswesley/sysutil architecture

> Architecture diagram of the GitHub repository matheuswesley/sysutil, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/matheuswesley/sysutil
- Repository: https://github.com/matheuswesley/sysutil

## Overview

SysUtil is a Linux command-line toolkit for configuring and maintaining SysPDV point-of-sale systems. Its documented user workflow is to run `sysutil` (or `./sysutil.sh`) and use the toolkit’s maintenance capabilities. The README names installation/update, VPN, MFe, peripheral, biometric, Tec55 consumption-limit, and SCP-transfer features, but no source excerpts show how the main script dispatches to them. Those capabilities are therefore represented without guessed call edges; paths identify the corresponding files or directories in the tree.

Main entry points: [`sysutil.sh`](https://github.com/matheuswesley/sysutil/blob/master/sysutil.sh) (SysUtil CLI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Command-line entry"]
  node_cli["SysUtil CLI<br/>[sysutil.sh]"]
end

subgraph group_device["Device configuration"]
  node_vpn["VPN setup<br/>[instalar_vpn.sh]"]
  node_peripherals["Peripheral setup"]
  node_biometrics["Biometric setup"]
end

subgraph group_maintenance["Maintenance and transfer"]
  node_sysupd["SysPDV install/update<br/>[baixar_build.sh]"]
  node_mfe["MFe driver removal"]
  node_tec55["Tec55 consumption limit<br/>[limitar_consumo.sh]"]
  node_scp["SCP file transfer<br/>[transferencia.sh]"]
end

node_user(("SysUtil user"))

node_user -->|"runs"| node_cli

click node_cli "https://github.com/matheuswesley/sysutil/blob/master/sysutil.sh"
click node_vpn "https://github.com/matheuswesley/sysutil/blob/master/func/instalar_vpn.sh"
click node_peripherals "https://github.com/matheuswesley/sysutil/blob/master/func/configurar_perifericos.sh"
click node_biometrics "https://github.com/matheuswesley/sysutil/blob/master/func/configurar_biometria.sh"
click node_sysupd "https://github.com/matheuswesley/sysutil/blob/master/func/baixar_build.sh"
click node_mfe "https://github.com/matheuswesley/sysutil/blob/master/func/remover_drive_mfe.sh"
click node_tec55 "https://github.com/matheuswesley/sysutil/blob/master/func/limitar_consumo.sh"
click node_scp "https://github.com/matheuswesley/sysutil/blob/master/func/transferencia.sh"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_cli,node_user toneBlue
class node_vpn,node_peripherals,node_biometrics toneAmber
class node_sysupd,node_mfe,node_tec55,node_scp toneMint
```

## Components

### Command-line entry

- [SysUtil CLI](https://github.com/matheuswesley/sysutil/blob/master/sysutil.sh): `sysutil.sh`

### Device configuration

- [VPN setup](https://github.com/matheuswesley/sysutil/blob/master/func/instalar_vpn.sh): `func/instalar_vpn.sh`
- [Peripheral setup](https://github.com/matheuswesley/sysutil/blob/master/func/configurar_perifericos.sh): `func/configurar_perifericos.sh`
- [Biometric setup](https://github.com/matheuswesley/sysutil/blob/master/func/configurar_biometria.sh): `func/configurar_biometria.sh`

### Maintenance and transfer

- [SysPDV install/update](https://github.com/matheuswesley/sysutil/blob/master/func/baixar_build.sh): `func/baixar_build.sh`
- [MFe driver removal](https://github.com/matheuswesley/sysutil/blob/master/func/remover_drive_mfe.sh): `func/remover_drive_mfe.sh`
- [Tec55 consumption limit](https://github.com/matheuswesley/sysutil/blob/master/func/limitar_consumo.sh): `func/limitar_consumo.sh`
- [SCP file transfer](https://github.com/matheuswesley/sysutil/blob/master/func/transferencia.sh): `func/transferencia.sh`

### Other components

- **SysUtil user**

## Connections

- SysUtil user → SysUtil CLI: runs (evidence: `README.md`)
