diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2021-06-08 12:31:17 -0500 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2021-06-08 12:31:17 -0500 |
commit | 25596ffb1df269be0dd123f274e3ff00f477ea80 (patch) | |
tree | 86c5cc4ede7e8404a97530e9b3c019107314b3ee /process-scripts.sh | |
parent | 06cdaed873b0a951bdf97b70d65428df87bf4670 (diff) |
Make stopping the network interfaces more robust.
SysV only.
When stopping or rebooting the system, the network boot script is run and looks
at all the /etc/sysconfig/ifconfig.* files. Some of the devices these files
refer to may not be active or even refer to interfaces that are not defined on
the current system. This change ignores non-existant interfaces and any
interfaces that are not UP. This change also avoids bogus warning or error
error messages when the system is shutting down.
Diffstat (limited to 'process-scripts.sh')
0 files changed, 0 insertions, 0 deletions