Initial commit: DarkForge Linux — Phases 0-12
Complete from-scratch Linux distribution targeting AMD Ryzen 9 9950X3D + NVIDIA RTX 5090 on ASUS ROG CROSSHAIR X870E HERO. Deliverables: - dpack: custom package manager in Rust (3,800 lines) - TOML package parser, dependency resolver, build sandbox - CRUX Pkgfile and Gentoo ebuild converters - Shared library conflict detection - 124 package definitions across 4 repos (core/extra/desktop/gaming) - 34 toolchain bootstrap scripts (LFS 13.0 adapted for Zen 5) - Linux 6.19.8 kernel config (hardware-specific, fully commented) - SysVinit init system with rc.d service scripts - Live ISO builder (UEFI-only, squashfs+xorriso) - Interactive installer (GPT partitioning, EFISTUB boot) - Integration test checklist (docs/TESTING.md) No systemd. No bootloader. No display manager. Kernel boots via EFISTUB → auto-login → dwl Wayland compositor. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
32
configs/rc.d/syslog
Executable file
32
configs/rc.d/syslog
Executable file
@@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
# ============================================================================
|
||||
# DarkForge Linux — syslog service
|
||||
# ============================================================================
|
||||
# System logging daemon. Uses sysklogd or syslog-ng.
|
||||
# ============================================================================
|
||||
|
||||
DAEMON="/usr/sbin/syslogd"
|
||||
PIDFILE="/run/syslogd.pid"
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo " Starting syslog..."
|
||||
${DAEMON} -m 0 && echo " syslog started"
|
||||
/usr/sbin/klogd && echo " klogd started"
|
||||
;;
|
||||
stop)
|
||||
echo " Stopping syslog..."
|
||||
killall syslogd klogd 2>/dev/null
|
||||
rm -f ${PIDFILE}
|
||||
echo " syslog stopped"
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user