Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(network-manager): use /run/NetworkManager/initrd/neednet in initq…
…ueue We don't want to start NetworkManager if networking is not needed. Right now nm-config.sh lays down /usr/lib/dracut/hooks/initqueue/finished/nm.sh which will cause the initqueue to run. If nothing exists in /usr/lib/dracut/hooks/initqueue/finished/ then it will short circuit and the initqueue won't run anything. But what if something else needed something to run in the initqueue? nm-run.sh would still get started, even though /usr/lib/dracut/hooks/initqueue/finished/nm.sh didn't exist. In this case let's just trigger off of /run/NetworkManager/initrd/neednet like we are doing in the systemd unit (nm-run.service).
- Loading branch information