From 1bf60a038471c03308b4d1860e3d15f03ada3e66 Mon Sep 17 00:00:00 2001 From: jmarks1 Date: Fri, 13 Oct 2017 11:16:06 -0500 Subject: [PATCH 1/2] Recognize systemd ethernet device naming conventions --- install/initd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/initd b/install/initd index 32b7171..cb47261 100755 --- a/install/initd +++ b/install/initd @@ -16,7 +16,7 @@ NAME=prax DESC="Prax Rack server (iptables configuration)." HTTP_PORT=20559 HTTPS_PORT=20558 -DEVICES=$(ifconfig | egrep '^(wlan|eth)[0-9]+' | cut -f1 -d ' ') +DEVICES=$(ifconfig | egrep '^((wlan|eth)[0-9]+|en[bosxPpa])' | cut -f1 -d ' ') case "$1" in start) From 5180618f97ce7a74732aba0f386e0e6c98854302 Mon Sep 17 00:00:00 2001 From: jmarks1 Date: Fri, 13 Oct 2017 11:40:56 -0500 Subject: [PATCH 2/2] Recognize biosdevname embedded iface names --- install/initd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/initd b/install/initd index cb47261..5b2e7a1 100755 --- a/install/initd +++ b/install/initd @@ -16,7 +16,7 @@ NAME=prax DESC="Prax Rack server (iptables configuration)." HTTP_PORT=20559 HTTPS_PORT=20558 -DEVICES=$(ifconfig | egrep '^((wlan|eth)[0-9]+|en[bosxPpa])' | cut -f1 -d ' ') +DEVICES=$(ifconfig | egrep '^((wlan|eth|em)[0-9]+|en[bosxPpa])' | cut -f1 -d ' ') case "$1" in start)