mirror of
https://github.com/DanielLavrushin/b4.git
synced 2026-08-16 12:33:46 +00:00
- Implemented a platform registration and dispatch system in _interface.sh. - Added support for Generic Linux, Keenetic, MerlinWRT, and OpenWrt platforms with respective detection, configuration, and dependency checks. - Created service management for Entware, Procd, Systemd, and SysV init systems, including installation, starting, stopping, and removal of services. - Introduced a no-op service type for environments without an init system. - Enhanced kernel module loading for various platforms to ensure necessary modules are available.
12 lines
466 B
Bash
12 lines
466 B
Bash
#!/bin/sh
|
|
# B4 Installer — Universal Linux installer with wizard interface
|
|
# Supports desktop Linux, OpenWRT, MerlinWRT, Keenetic, Mikrotik, Docker, and more
|
|
#
|
|
# AUTO-GENERATED — Do not edit directly
|
|
# Edit files in installer2/ and run: make build-installer
|
|
#
|
|
|
|
set -e
|
|
|
|
# Ensure sane PATH (Entware paths first for wget-ssl/curl from /opt/bin)
|
|
export PATH="/opt/bin:/opt/sbin:$HOME/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:$PATH"
|