]> git.ipfire.org Git - thirdparty/dracut.git/commit
network: don't use "ifup -m"
authorHarald Hoyer <harald@redhat.com>
Thu, 2 Jul 2015 09:32:08 +0000 (11:32 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 2 Jul 2015 17:47:46 +0000 (19:47 +0200)
commit00c118a93a154d8ee7469331da2868db6c76fcd2
tree75f3ec5726095f0e71aaa108ea2b3d62d54b5fcb
parent4ec362ce0ba3fc8b10df83c015d88e002f8ccd36
network: don't use "ifup -m"

"ifup -m" was thought to be used by humans in the emergency shell.
Using it programatically shows some other flaw in the execution logic.

Also, "ifup -m" was configuring the interface multiple times on "add"
and "change" uevent, because the "$netif.did-setup" test was not
executed.

(cherry picked from commit 7cca5efdcea4f1431331cf7663fc6fb48a365cdf)
modules.d/40network/ifup.sh
modules.d/40network/net-genrules.sh