mirror of
https://github.com/blazblue547-afk/ForgeOS.git
synced 2026-12-02 14:34:17 -05:00
Initial ForgeOS project
This commit is contained in:
commit
7db7cf1540
42 files changed
+3308
No files matched your search
@@ -0,0 +1,9 @@
|
||||
root:x:0:
|
||||
tty:x:5:
|
||||
disk:x:6:
|
||||
utmp:x:43:
|
||||
messagebus:x:81:
|
||||
systemd-journal:x:190:
|
||||
systemd-network:x:192:
|
||||
systemd-resolve:x:193:
|
||||
nobody:x:65534:
|
||||
@@ -0,0 +1 @@
|
||||
forgeos
|
||||
@@ -0,0 +1 @@
|
||||
ForgeOS \r (\m)
|
||||
@@ -0,0 +1,3 @@
|
||||
# ForgeOS ships a small BusyBox-compatible neofetch implementation.
|
||||
# Keep this distro name available for tools that read neofetch-style config.
|
||||
ascii_distro="forgeos"
|
||||
@@ -0,0 +1,3 @@
|
||||
NAME=ForgeOS
|
||||
ID=forgeos
|
||||
PRETTY_NAME="ForgeOS"
|
||||
@@ -0,0 +1,5 @@
|
||||
root::0:0:root:/root:/bin/sh
|
||||
systemd-network:x:192:192:systemd Network Management:/:/bin/sh
|
||||
systemd-resolve:x:193:193:systemd Resolver:/:/bin/sh
|
||||
messagebus:x:81:81:System Message Bus:/:/bin/sh
|
||||
nobody:x:65534:65534:nobody:/:/bin/sh
|
||||
@@ -0,0 +1,9 @@
|
||||
PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||
export PATH
|
||||
|
||||
PS1='[forgeos \w]# '
|
||||
export PS1
|
||||
|
||||
alias ll='ls -alF'
|
||||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
@@ -0,0 +1,6 @@
|
||||
[Match]
|
||||
Name=en* eth*
|
||||
|
||||
[Network]
|
||||
DHCP=yes
|
||||
IPv6AcceptRA=yes
|
||||
@@ -0,0 +1,15 @@
|
||||
disable *
|
||||
enable forgeos-shell@tty1.service
|
||||
enable forgeos-shell@ttyS0.service
|
||||
enable forgeos-bootdiag.service
|
||||
enable forgeos-console-banner.service
|
||||
enable dbus.service
|
||||
enable dbus.socket
|
||||
enable systemd-networkd.service
|
||||
enable systemd-networkd.socket
|
||||
enable systemd-resolved.service
|
||||
enable systemd-resolved-monitor.socket
|
||||
enable systemd-resolved-varlink.socket
|
||||
enable systemd-udevd.service
|
||||
enable systemd-udevd-control.socket
|
||||
enable systemd-udevd-kernel.socket
|
||||
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Record ForgeOS boot diagnostics
|
||||
Documentation=man:systemd.service(5)
|
||||
After=local-fs.target systemd-udevd.service
|
||||
ConditionPathExists=/sbin/forgeos-bootdiag
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/sbin/forgeos-bootdiag systemd
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Print ForgeOS console banner
|
||||
Documentation=man:systemd.service(5)
|
||||
After=systemd-user-sessions.service
|
||||
ConditionPathExists=/sbin/forgeos-console-banner
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/sbin/forgeos-console-banner
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,24 @@
|
||||
[Unit]
|
||||
Description=ForgeOS root shell on %I
|
||||
Documentation=man:systemd.service(5)
|
||||
After=systemd-user-sessions.service
|
||||
Before=getty.target
|
||||
IgnoreOnIsolate=yes
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=-/bin/sh -l
|
||||
Restart=always
|
||||
RestartSec=0
|
||||
StandardInput=tty
|
||||
StandardOutput=tty
|
||||
StandardError=tty
|
||||
TTYPath=/dev/%I
|
||||
TTYReset=yes
|
||||
TTYVHangup=yes
|
||||
KillMode=process
|
||||
IgnoreSIGPIPE=no
|
||||
SendSIGHUP=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=getty.target
|
||||
Reference in new issue
Block a user