]>
git.ipfire.org Git - thirdparty/dracut.git/blob - modules.d/40network/parse-ifname.sh
4 # ifname=<interface>:<mac>
6 # Note letters in the macaddress must be lowercase!
9 # ifname=eth0:4a:3f:4c:04:f8:d7
11 # Note when using ifname= to get persistent interface names, you must specify
12 # an ifname= argument for each interface used in an ip= or fcoe= argument
14 # check if there are any ifname parameters
15 if ! getarg ifname
= >/dev
/null
; then
19 command -v parse_ifname_opts
>/dev
/null || .
/lib
/net-lib.sh
22 for p
in $
(getargs ifname
=); do