added finit init system support

This commit is contained in:
wt committed 2025-08-16 22:51:03 +07:00
1 parent f8325e328f
commit a605476c80
30 files changed
+173 -23

No files matched your search

+1
View File
@@ -0,0 +1 @@
#DNSD_ARGS="-t 120 -s -v"
+1
View File
@@ -0,0 +1 @@
DNSMASQ_ARGS="-u root"
+3
View File
@@ -0,0 +1,3 @@
DROPBEAR_PORT=22
DROPBEAR_EXTRA_ARGS="-E -R -B -m -F"
ENABLE_ROOT_LOGIN="yes"
+1
View File
@@ -0,0 +1 @@
HTTPD_ARGS="-h /srv/www"
@@ -0,0 +1 @@
service [2345] log env:-/etc/default/dnsd $DNSD_ARGS -- DNS daemon
@@ -0,0 +1 @@
service env:-/etc/default/dnsmasq <pid/syslogd> [S12345] dnsmasq -k $DNSMASQ_ARGS -- DHCP/DNS proxy
@@ -0,0 +1 @@
service [2345] env:/etc/default/dropbear dropbear $DROPBEAR_EXTRA_ARGS -p$DROPBEAR_PORT -- Dropbear SSH daemon
@@ -0,0 +1,3 @@
# Consoles to start getty on when system is up
tty [12345] /dev/ttyS0 noclear nowait
tty [12345] /dev/tty1 noclear nowait
@@ -0,0 +1 @@
run [123456789] hostname -F /etc/hostname -- Set up hostname
@@ -0,0 +1 @@
service log env:-/etc/default/httpd pid:/run/httpd.pid <!> [2345] httpd -f $HTTPD_ARGS -- HTTP daemon
@@ -0,0 +1 @@
service [2345] inetd -f -- Internet super server
@@ -0,0 +1,16 @@
# cat syslogd.conf
# BusyBox syslogd + klogd
# Use <pid/syslogd> as barrier for other system tasks and service that
# rely on modules, firmware, and device nodes to be ready.
# We want syslogd to always run, never be stopped, regardless of runlevel
# so it can send to any remote syslog server the user has set up.
service if:udevd nowarn env:-/etc/default/syslogd <!run/udevadm:5/success> \
[S0123456789] syslogd -n $SYSLOGD_ARGS -- System log daemon
service if:mdev nowarn env:-/etc/default/syslogd <!run/coldplug/success> \
[S0123456789] syslogd -n $SYSLOGD_ARGS -- System log daemon
service if:mdevd nowarn env:-/etc/default/syslogd <!run/coldplug/success> \
[S0123456789] syslogd -n $SYSLOGD_ARGS -- System log daemon
# klogd depends on syslogd, but BusyBox syslogd doesn't create a PID file to sync with
service [S0123456789] <!pid/syslogd> klogd -n -- Kernel log daemon
@@ -0,0 +1,5 @@
# cat telnetd.conf
# Note: telnetd also runs from inetd, see /etc/inetd.conf
#service [2345] <!> :23 telnetd -F -p 23 -- Telnet daemon on port 23
#service [2345] <!> :2323 telnetd -F -p 2323 -- Telnet daemon on port 2323
service [2345] <!> telnetd -F -- Telnet daemon
+1
View File
@@ -0,0 +1 @@
../available/dropbear.conf
+1
View File
@@ -0,0 +1 @@
../available/getty.conf
+1
View File
@@ -0,0 +1 @@
../available/hostname.conf
+1
View File
@@ -0,0 +1 @@
../available/inetd.conf
+1
View File
@@ -0,0 +1 @@
../available/syslogd.conf
+1
View File
@@ -0,0 +1 @@
../available/telnetd.conf
+1
View File
@@ -0,0 +1 @@
/dev/sda / ext4 rw,relatime 0 0
+1
View File
@@ -0,0 +1 @@
simple
+3
View File
@@ -0,0 +1,3 @@
127.0.0.1 localhost
::1 localhost
127.0.1.1 simple.localdomain simple
+1
View File
@@ -0,0 +1 @@
21 stream tcp nowait root /sbin/ftpd /sbin/ftpd -S -A -w /srv/ftp
+1
View File
@@ -0,0 +1 @@
\n \r (\l)