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,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