b4/installer/header.sh
Daniel Lavrushin 7c2c1626ba
Add platform and service management for various router firmware
- 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.
2026-03-07 14:22:30 +01:00

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"