[Git-commits] [grml/grml-network] a18667: Fix non-interactive interface choosing
Michael Prokop
mika at grml.org
Fri Dec 14 12:55:53 CET 2018
Branch: refs/heads/master
Home: https://github.com/grml/grml-network
Commit: a186676d636aa5e5eed9ae554f0608082d560d38
https://github.com/grml/grml-network/commit/a186676d636aa5e5eed9ae554f0608082d560d38
Author: Mykola Malkov <mmalkov at sipwise.com>
Date: 2018-10-11 (Thu, 11 Oct 2018)
Changed paths:
M sbin/netcardconfig
Log Message:
-----------
Fix non-interactive interface choosing
In interactive mode user choose an interface and its number is used
in the code. In function 'configiface' the actual interface is taken
from NETDEVICES by this number.
In non-interactive mode we have an interface name and it was used as
index in NETDEVICES which failed and the 1st interface was always taken.
It does not matter what interface was passed in NET_DEV variable script
tried to configure eth0.
Fix it with getting interface number by its name.
Commit: 59b9714ea4557a99ecf19a36d53ea8bf53746dd3
https://github.com/grml/grml-network/commit/59b9714ea4557a99ecf19a36d53ea8bf53746dd3
Author: Michael Prokop <mika at grml.org>
Date: 2018-12-14 (Fri, 14 Dec 2018)
Changed paths:
M sbin/netcardconfig
Log Message:
-----------
Merge remote-tracking branch 'origin/pr/5'
Compare: https://github.com/grml/grml-network/compare/1a453bc9b6a3...59b9714ea455
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Git-commits
mailing list