docs: use boot.d directory with example boot service
authorDavin McCall <davmac@davmac.org>
Sat, 20 Oct 2018 14:20:55 +0000 (15:20 +0100)
committerDavin McCall <davmac@davmac.org>
Sat, 20 Oct 2018 14:20:55 +0000 (15:20 +0100)
doc/linux/services/boot
doc/linux/services/boot.d/dhcpcd [new symlink]
doc/linux/services/boot.d/late-filesystems [new symlink]
doc/linux/services/boot.d/sshd [new symlink]

index 452a04be3e14d19120f66535144b772eb95b340b..7bf746cf2bca8783092e755dd77c5e82086bbb6e 100644 (file)
@@ -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
diff --git a/doc/linux/services/boot.d/dhcpcd b/doc/linux/services/boot.d/dhcpcd
new file mode 120000 (symlink)
index 0000000..62520b4
--- /dev/null
@@ -0,0 +1 @@
+../dhcpcd
\ No newline at end of file
diff --git a/doc/linux/services/boot.d/late-filesystems b/doc/linux/services/boot.d/late-filesystems
new file mode 120000 (symlink)
index 0000000..87aee1e
--- /dev/null
@@ -0,0 +1 @@
+../late-filesystems
\ No newline at end of file
diff --git a/doc/linux/services/boot.d/sshd b/doc/linux/services/boot.d/sshd
new file mode 120000 (symlink)
index 0000000..6ebcd59
--- /dev/null
@@ -0,0 +1 @@
+../sshd
\ No newline at end of file