summaryrefslogtreecommitdiffstats
path: root/BUILDING.md
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-01-21 22:39:55 +0000
committerRoy Marples <roy@marples.name>2020-01-21 22:39:55 +0000
commiteed9c74e6c37ed1ddb549e9894fb21aee5704209 (patch)
treef45a6db7209ca06db6a00f5e60d30123b9a786a6 /BUILDING.md
parentb7351730bfba82a27a3ce542a2c36564405a6baf (diff)
downloaddhcpcd-eed9c74e6c37ed1ddb549e9894fb21aee5704209.tar.xz
Remove RC_SVCNAME.
We've not used that for quite a while now.....
Diffstat (limited to 'BUILDING.md')
-rw-r--r--BUILDING.md14
1 files changed, 0 insertions, 14 deletions
diff --git a/BUILDING.md b/BUILDING.md
index 20157b76..7e1f7150 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -170,17 +170,3 @@ If running privilege separation and on Linux then the `00-linux` hook is
**mandatory**.
If you choose not to run it, then you are responsible for setting up the
needed mount points: `/dev`, `/proc`, `/sys`, `/run/udev`
-
-Some system services expose the name of the service we are in,
-by default dhcpcd will pick `RC_SVCNAME` from the environment.
-You can override this in `CPPFLAGS+= -DRC_SVCNAME="YOUR_SVCNAME"`.
-This is important because dhcpcd will scrub the environment aside from `$PATH`
-before running hooks.
-This variable could be used to facilitate service re-entry so this chain could
-happen in a custom OS hook:
- dhcpcd service marked inactive && dhcpcd service starts
- dependant services are not started because dhcpcd is inactive (not stopped)
- dhcpcd hook tests if `$if_up = true` and `$af_waiting` is empty or unset.
- if true, mark the dhcpcd service as started and then start dependencies
- if false and the dhcpcd service was previously started, mark as inactive and
- stop any dependant services.