On Friday 22 December 2017 at 11:53:15, Didier Kryn wrote: > Le 22/12/2017 à 08:58, Didier Kryn a écrit : > > PS please find my patch in attachment. > > This was the wrong patch, against /lib/udev/ifupdown-hotplug, > falsely renamed. > > Now I attach the right one. > > Didier > > > check-link-state.patch > --- networking~ 2016-09-16 15:02:20.000000000 +0200 > +++ networking 2017-12-18 17:25:49.902781233 +0100 > @@ -112,7 +112,12 @@ ifup_hotplug () { > done) > if [ -n "$ifaces" ] > then > - ifup $ifaces "$@" || true > + # link detection does not work unless we up the link > + ip link set "$iface" up || true > + if [ "$(cat /sys/class/net/$link/operstate)" = up ]
Doesn't that "up" need quotation marks around it there? > + then > + echo "$iface" > + fi > fi > fi > } Antony. -- Police have found a cartoonist dead in his house. They say that details are currently sketchy. Please reply to the list; please *don't* CC me. _______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng