rc.library: read IP addresses directly from interfaces instead of file

This commit is contained in:
bergware
2023-06-17 05:01:15 +02:00
parent 89e60c6c99
commit 7f59557dc3

View File

@@ -44,10 +44,6 @@ scan() {
grep -Pom1 "^$1=\"?\K[^\"]+" $2
}
link() {
grep -Pom1 "^$1=\"\K[^\"]+" $NETWORK_INI.eth
}
good() {
data=;
for i in ${!bind[@]}; do