[gentoo-commits] proj/netifrc:master commit in: udev_helper/
commit: 6d8ec90ad901b7406b0b23878de112296d9e16ac Author: Lars Wendler gentoo org> AuthorDate: Mon Jan 18 14:47:34 2021 + Commit: Lars Wendler gentoo org> CommitDate: Mon Jan 18 14:49:14 2021 + URL:https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=6d8ec90a udev_helper/net.sh: Ignore wireguard interfaces Bug: https://bugs.gentoo.org/758938 Signed-off-by: Lars Wendler gentoo.org> udev_helper/net.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udev_helper/net.sh b/udev_helper/net.sh index f1c4f20..0c114a5 100644 --- a/udev_helper/net.sh +++ b/udev_helper/net.sh @@ -17,7 +17,7 @@ fi # ignore interfaces that are registered after being "up" (?) case ${IFACE} in - ppp*|ippp*|isdn*|plip*|lo*|irda*|dummy*|ipsec*|tun*|tap*|br*|macvtap*|ipvl*|vlan*|vxlan*|peth*|ifb*|veth*|gre*|vrf*) + ppp*|ippp*|isdn*|plip*|lo*|irda*|dummy*|ipsec*|tun*|tap*|br*|macvtap*|ipvl*|vlan*|vxlan*|peth*|ifb*|veth*|gre*|vrf*|wg*) exit 0 ;; esac
[gentoo-commits] proj/netifrc:master commit in: udev_helper/
commit: db98502979abd91749cdede8e096fe3b814441a7 Author: Robin H. Johnson gentoo org> AuthorDate: Sun May 31 23:20:59 2020 + Commit: Robin H. Johnson gentoo org> CommitDate: Sun May 31 23:20:59 2020 + URL:https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=db985029 udev_helper: recognize more interface types Bug: https://bugs.gentoo.org/691372 Signed-off-by: Robin H. Johnson gentoo.org> udev_helper/net.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udev_helper/net.sh b/udev_helper/net.sh index b15b187..f1c4f20 100644 --- a/udev_helper/net.sh +++ b/udev_helper/net.sh @@ -17,7 +17,7 @@ fi # ignore interfaces that are registered after being "up" (?) case ${IFACE} in - ppp*|ippp*|isdn*|plip*|lo*|irda*|dummy*|ipsec*|tun*|tap*|br*) + ppp*|ippp*|isdn*|plip*|lo*|irda*|dummy*|ipsec*|tun*|tap*|br*|macvtap*|ipvl*|vlan*|vxlan*|peth*|ifb*|veth*|gre*|vrf*) exit 0 ;; esac
[gentoo-commits] proj/netifrc:master commit in: udev_helper/, net/
commit: 9bfa24d64ea686ff7416bfd990624a54788525a0 Author: Robin H. Johnson gentoo org> AuthorDate: Mon Oct 24 19:56:08 2016 + Commit: Robin H. Johnson gentoo org> CommitDate: Mon Oct 24 19:56:08 2016 + URL:https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=9bfa24d6 bashisms: Fix bashisms for dash support. Signed-off-by: Robin H. Johnson gentoo.org> net/bonding.sh | 2 +- udev_helper/net.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/bonding.sh b/net/bonding.sh index ba75239..d0ed319 100644 --- a/net/bonding.sh +++ b/net/bonding.sh @@ -82,7 +82,7 @@ bonding_pre_start() n=${x##*/} eval s=\$${n}_${IFVAR} # skip mode and miimon - [ "${n}" == "mode" -o "${n}" == "miimon" ] && continue + [ "${n}" = "mode" -o "${n}" = "miimon" ] && continue if [ -n "${s}" ]; then einfo "Setting ${n}: ${s}" echo "${s}" >"${x}" || \ diff --git a/udev_helper/net.sh b/udev_helper/net.sh index 85b304b..b15b187 100644 --- a/udev_helper/net.sh +++ b/udev_helper/net.sh @@ -48,6 +48,6 @@ fi # If we're stopping then sleep for a bit in-case a daemon is monitoring # the interface. This to try and ensure we stop after they do. -[ "${ACTION}" == "stop" ] && sleep 2 +[ "${ACTION}" = "stop" ] && sleep 2 IN_HOTPLUG=1 "${SCRIPT}" --quiet "${ACTION}"
[gentoo-commits] proj/netifrc:master commit in: udev_helper/
commit: b1a6abadd8c4ca2146ed6b08d53e46d35d320e17 Author: Mike Gilbert gmail com> AuthorDate: Fri Apr 22 17:45:11 2016 + Commit: Robin H. Johnson gentoo org> CommitDate: Fri Apr 22 17:45:11 2016 + URL:https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=b1a6abad udev: Bail out early if not running openrc (#19) Bug: https://bugs.gentoo.org/580846 udev_helper/net.sh | 5 + 1 file changed, 5 insertions(+) diff --git a/udev_helper/net.sh b/udev_helper/net.sh index 88aee59..85b304b 100644 --- a/udev_helper/net.sh +++ b/udev_helper/net.sh @@ -10,6 +10,11 @@ ACTION=$2 SCRIPT=/etc/init.d/net.$IFACE +# make sure openrc is managing services +if [ ! -d /run/openrc ]; then + exit 0 +fi + # ignore interfaces that are registered after being "up" (?) case ${IFACE} in ppp*|ippp*|isdn*|plip*|lo*|irda*|dummy*|ipsec*|tun*|tap*|br*)
[gentoo-commits] proj/netifrc:master commit in: udev_helper/
commit: 3a1a01b5dc0b58386fd2a12a3f6218acce53e6f7 Author: Mike Gilbert gentoo org> AuthorDate: Fri Apr 22 16:55:13 2016 + Commit: Ian Stakenvicius gentoo org> CommitDate: Fri Apr 22 17:16:14 2016 + URL:https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=3a1a01b5 udev: Bail out early if not running openrc Bug: https://bugs.gentoo.org/580846 Closes: https://github.com/gentoo/netifrc/pull/19 Signed-off-by: Ian Stakenvicius gentoo.org> udev_helper/net.sh | 5 + 1 file changed, 5 insertions(+) diff --git a/udev_helper/net.sh b/udev_helper/net.sh index 88aee59..85b304b 100644 --- a/udev_helper/net.sh +++ b/udev_helper/net.sh @@ -10,6 +10,11 @@ ACTION=$2 SCRIPT=/etc/init.d/net.$IFACE +# make sure openrc is managing services +if [ ! -d /run/openrc ]; then + exit 0 +fi + # ignore interfaces that are registered after being "up" (?) case ${IFACE} in ppp*|ippp*|isdn*|plip*|lo*|irda*|dummy*|ipsec*|tun*|tap*|br*)