diff --git a/Scripts.md b/Scripts.md index 6d07ac1..a87829c 100644 --- a/Scripts.md +++ b/Scripts.md @@ -1,141 +1,12 @@ -System scripts: -How to get started: - Run `sudo femto-config` to open the menu system, then run the Setup Wizard. -Femtofox scripts -Each script is a collection of tools used by various Foxbuntu features to manage your node. -femto-config -Main configuration menu -Primary system management script—launches all other configuration tools. -femto-boot-complete.sh -Runs post-boot tasks -Confirms successful boot and initializes system services. -femto-set-time.sh -Manages system time -Prevents clock drift, ensuring accurate logs & messages. -femto-meshtasticd-config.sh -Configures meshtasticd -Automates LoRa radio selection, security keys, and network settings. -femto-runonce.sh -First-time boot setup -Initial setup script that optimizes storage and security. -button.sh -Detects button presses -Provides hardware control (Wi-Fi toggle, reboot, shutdown). -femto-kernel-modules.sh -Manages kernel modules -Allows easy hardware customization without modifying system files. -femto-pinout.sh -Displays Femtofox hardware pinouts -Quick GPIO, UART, I2C, and LoRa pin reference. -femto-license.sh -Displays Femtofox, Ubuntu, and Meshtastic licenses -Ensures legal compliance for open-source and commercial projects. -femto-usb-config-tool.sh -Reads USB config file (femtofox-config.txt) and applies settings -Enables plug-and-play remote configuration via USB drive. -femto-utils.sh -System utilities -Provides logging, service management, and debugging tools. -femto-software.sh -Software package manager -Simplifies installing & updating Femtofox software. -femto-install-wizard.sh -First-time setup wizard -User-friendly UI for configuring Wi-Fi, hostname, and LoRa. -wifi-mesh-control.sh -Synchronizes Wi-Fi settings -Keeps Wi-Fi states consistent between Linux and Meshtastic. -time_change.sh -Detects large time changes (≥1 week) and restarts meshtasticd -Prevents time desynchronization issues in the mesh network. -femto-network-config.sh -Wi-Fi, Ethernet, and hostname management -Automates network setup for Wi-Fi and Ethernet. -wifi-mesh-control.sh -Keeps Wi-Fi states synchronized -Prevents connectivity issues between Linux and Meshtastic. - - -Menu structure: -``` -Main Menu -├── Settings wizard -├── Networking -│ ├── Turn Wi-Fi on/off -│ ├── View Wi-Fi settings -│ ├── Change Wi-Fi settings -│ ├── View Ethernet settings -│ ├── Restart networking -│ ├── Set hostname -│ └── Test internet connection -├── Meshtastic -│ ├── View node info -│ ├── View configuration URL & QR code -│ ├── Set new configuration URL -│ ├── Set LoRa radio -│ │ └── Select LoRa radio model -│ ├── Security settings -│ │ ├── View/change public key -│ │ ├── View/change private key -│ │ ├── View admin keys -│ │ ├── Set admin key -│ │ ├── Clear admin keys -│ │ └── Legacy admin channel -│ │ ├── Enable -│ │ └── Disable (default) -│ ├── Mesh connectivity test -│ ├── Manage Meshtasticd service -│ │ ├── View detailed service status -│ │ ├── Start/restart service -│ │ ├── Stop service -│ │ ├── Disable service -│ │ └── Enable service -│ ├── Upgrade/install Meshtasticd -│ └── Uninstall Meshtasticd -├── Software manager -│ └── Select package to install -│ ├── Run software -│ ├── Install -│ ├── Uninstall -│ ├── Initialize -│ ├── Upgrade -│ ├── Enable service -│ ├── Disable service -│ ├── Stop service -│ ├── Start/restart service -│ ├── Detailed service status -│ └── License (button) -├── Utilities -│ ├── View system info -│ │ ├── CPU -│ │ ├── Operating system -│ │ ├── Storage & memory -│ │ ├── Peripherals & devices -│ │ ├── Networking -│ │ ├── Meshtastic node info -│ │ ├── Complete system info -│ │ └── Help (button) -│ ├── Set system time -│ ├── Kernel modules -│ │ └── Select module to manage -│ ├── Re-run first-boot script -│ ├── Run USB configuration tool -│ ├── Run OEM luckfox-config -│ ├── Process viewer/manager -│ ├── Disable/enable logging -│ ├── Disable/enable activity LED -│ ├── Reboot -│ └── Shutdown -└── Help - ├── About Femtofox - ├── Display pinout - │ ├── Femtofox Pro/CE - │ ├── Femtofox Zero - │ ├── Femtofox Tiny - │ └── Luckfox Pico Mini - ├── Femtofox licensing info - short - ├── Femtofox licensing info - long - ├── Meshtastic licensing info - ├── About Luckfox - └── About Ubuntu -``` +| | | | | | | | | | | +|------------------------------|-------------------------------------------------------------------|---------------------------------------------------------------------------|---|---|---|---|---|---|---| +| femto-config | Main configuration menu | Primary system management script—launches all other configuration tools. | | | | | | | | +| femto-boot-complete.sh | Runs post-boot tasks | Confirms successful boot and initializes system services. | | | | | | | | +| femto-set-time.sh | Manages system time | Prevents clock drift, ensuring accurate logs & messages. | | | | | | | | +| femto-meshtasticd-config.sh | Configures meshtasticd | Automates LoRa radio selection, security keys, and network settings. | | | | | | | | +| femto-runonce.sh | First-time boot setup | Initial setup script that optimizes storage and security. | | | | | | | | +| button.sh | Detects button presses | Provides hardware control (Wi-Fi toggle, reboot, shutdown). | | | | | | | | +| femto-kernel-modules.sh | Manages kernel modules | Allows easy hardware customization without modifying system files. | | | | | | | | +| femto-pinout.sh | Displays Femtofox hardware pinouts | Quick GPIO, UART, I2C, and LoRa pin reference. | | | | | | | | +| femto-license.sh | Displays Femtofox, Ubuntu, and Meshtastic licenses | Ensures legal compliance for open-source and commercial projects. | | | | | | | | +| femto-usb-config-tool.sh | Reads USB config file (femtofox-config.txt) and applies settings | Enables plug-and-play remote configuration via USB drive. | | | | | | | |