# ============================================================================ # DarkForge Linux — /etc/inittab # ============================================================================ # SysVinit configuration. Defines runlevels and getty spawning. # Runlevel 3 = multi-user with networking (our default). # No display manager — tty1 auto-logs in 'danny' and starts dwl. # ============================================================================ # Default runlevel id:3:initdefault: # System initialization script (runs once at boot) si::sysinit:/etc/rc.d/rc.sysinit # Runlevel scripts l0:0:wait:/etc/rc.d/rc.shutdown l3:3:wait:/etc/rc.d/rc.multi l6:6:wait:/etc/rc.d/rc.reboot # --- Virtual consoles ------------------------------------------------------- # tty1: Auto-login danny — no password prompt, launches dwl via .zprofile 1:2345:respawn:/sbin/agetty --autologin danny --noclear 38400 tty1 linux # tty2-4: Standard login prompts (for emergency access) 2:2345:respawn:/sbin/agetty 38400 tty2 linux 3:2345:respawn:/sbin/agetty 38400 tty3 linux 4:2345:respawn:/sbin/agetty 38400 tty4 linux # --- Special keys ----------------------------------------------------------- # Ctrl+Alt+Del triggers a clean reboot ca::ctrlaltdel:/sbin/shutdown -r now # Power key triggers a clean shutdown (if ACPI sends it) pf::powerfail:/sbin/shutdown -h +0 "Power failure — shutting down"