https://github.com/learnixos/lxos-rc
A lightweight init system for LxOS, written from scratch. Minimal shell scripts handle boot, services, and shutdown.
https://github.com/learnixos/lxos-rc
bsd busybox gnu-linux init-system linux unix
Last synced: about 1 year ago
JSON representation
A lightweight init system for LxOS, written from scratch. Minimal shell scripts handle boot, services, and shutdown.
- Host: GitHub
- URL: https://github.com/learnixos/lxos-rc
- Owner: LearnixOS
- Created: 2025-03-26T08:21:53.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-26T08:37:51.000Z (about 1 year ago)
- Last Synced: 2025-03-26T09:36:49.297Z (about 1 year ago)
- Topics: bsd, busybox, gnu-linux, init-system, linux, unix
- Language: Shell
- Homepage: https://learnixos.github.io/
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# lxos-rc: Simple Init for LearnixOS
## Dependencies
### Core Requirements
- **BusyBox** (or equivalent): Provides `sh`, `mount`, `umount`, `sync`, `poweroff`, `pidof`, etc.
- **iproute2**: For `ip` command in `rc.network`.
### Service-Specific Dependencies
- **alsa-utils**: For `rc.alsa` (`alsactl`).
- **bluez**: For `rc.bluetooth` (`bluetoothd`).
- **wpa_supplicant**: For `rc.wpa_supplicant` (Wi-Fi).
- **dhcpcd**: For IP assignment in `rc.network` and `rc.wpa_supplicant`.
- **e2fsprogs**: For `rc.fsck` (`fsck`).
- **busybox-syslogd** (or standalone `syslogd`): For `rc.syslog`.
### Optional
- **hwclock**: For clock setup in `/etc/lxos-rc` (via `rc.conf`).
- A kernel with `procfs`, `sysfs`, `devtmpfs`, and hardware module support (e.g., `bluetooth`).
## Installation
1. **Clone the Repository**:
```bash
git clone https://github.com/LearnixOS/lxos-rc.git
cd lxos-rc