joukewitteveen/netctl — pull request #102 by sargon (2014-10-15 09:14:25+00:00)
Title: Gracefully remove interfaces from dhcpcd.

Instead of just telling dhcpcd to kill itself, we shall tell dhcpcd
to deconfigure the interface and die if not needed anymore.

With the -x option we tell dhcpcd to "Exit", which will lead to following behaviour:
* Shutdown all managed devices
* Run the STOPPED hook
The default hook handling script will then do nothing. This will leave all entries in the resolv.conf.
Furthermore if you have multiple devices handled by dhcpcd shutting down one profile will render them all useless.