Initial commit

This commit is contained in:
sisungo committed 2026-10-31 12:50:20 +08:00
commit 2212875018
9 files changed
+154

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
SERVICEDIR="/share/services"
MILESTONEDIR="/share/milestones"
@@ -0,0 +1,17 @@
run $PREFIX/mount-basic-filesystems.sh
# Start `lxdeviced`.
start lxdeviced
run console.info "Probing connected hardware devices..."
run device trigger --action=add
run device wait-for-idle
# Start `accountd`.
#
# Running services as an user other than root depends on this, so it is run early.
start accountd
# Run the logger.
#
# Ensuring the logger to run before other services can help us capture more system logs during system boot.
start airup-fallback-logger
@@ -0,0 +1,5 @@
[milestone]
display-name = "Basic Services"
description = "The milestone that is depended by almost all boot milestones, and includes basic system services."
dependencies = []
kind = "serial"
@@ -0,0 +1,5 @@
[milestone]
display-name = "Normal Boot"
description = "The milestone that is usually entered on a normal system boot."
dependencies = ["basic-services"]
kind = "async"
@@ -0,0 +1,5 @@
[milestone]
display-name = "System Reboot"
description = "The milestone that is entered on system reboot."
dependencies = []
kind = "serial"
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
mount -o remount,rw /
umount -q /dev /sys /proc /run
mount -t tmpfs run /run
mount -t sysfs sys /sys
mount -t proc proc /proc
if grep -q devtmpfs /proc/filesystems; then
mount -t devtmpfs dev /dev
else
mount -t tmpfs dev /dev
fi