]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
kmod-setup: don't warn when ipv6 can't be loaded 79/head
authorDaniel Mack <daniel@zonque.org>
Fri, 5 Jun 2015 12:59:36 +0000 (14:59 +0200)
committerDaniel Mack <daniel@zonque.org>
Fri, 5 Jun 2015 12:59:36 +0000 (14:59 +0200)
Not having IPv6 is a valid setup. Let's not print a warning in that
case.

Addresses:

  https://bugs.freedesktop.org/show_bug.cgi?id=87475

src/core/kmod-setup.c

index 6cc59517195ab78aa4a8dc8a535fe776d2024e92..96379058a1160349add996df51a06643ae118c11 100644 (file)
@@ -60,7 +60,7 @@ int kmod_setup(void) {
                 { "autofs4",   "/sys/class/misc/autofs",    true,  NULL                },
 
                 /* early configure of ::1 on the loopback device */
-                { "ipv6",      "/sys/module/ipv6",          true,  NULL                },
+                { "ipv6",      "/sys/module/ipv6",          false,  NULL               },
 
                 /* this should never be a module */
                 { "unix",      "/proc/net/unix",            true,  NULL                },