Browse Source

docs: use boot.d directory with example boot service

Davin McCall 5 years ago
parent
commit
98dcaac5e0

+ 2 - 3
doc/linux/services/boot

@@ -10,6 +10,5 @@ depends-ms = tty4
 depends-ms = tty5
 depends-ms = tty6
 
-waits-for = late-filesystems
-waits-for = dhcpcd
-waits-for = sshd
+# the boot.d directory contents determine other dependencies:
+waits-for.d = boot.d

+ 1 - 0
doc/linux/services/boot.d/dhcpcd

@@ -0,0 +1 @@
+../dhcpcd

+ 1 - 0
doc/linux/services/boot.d/late-filesystems

@@ -0,0 +1 @@
+../late-filesystems

+ 1 - 0
doc/linux/services/boot.d/sshd

@@ -0,0 +1 @@
+../sshd