#!/bin/sh # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh # # Format: # ifname=<interface>:<mac> # # Note letters in the macaddress must be lowercase! # # Examples: # ifname=eth0:4a:3f:4c:04:f8:d7 # # Note when using ifname= to get persistent interface names, you must specify # an ifname= argument for each interface used in an ip= or fcoe= argument # check if there are any ifname parameters if ! getarg ifname= >/dev/null ; then return fi command -v parse_ifname_opts >/dev/null || . /lib/net-lib.sh # Check ifname= lines for p in $(getargs ifname=); do parse_ifname_opts $p done
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
dhclient-script.sh | File | 8.32 KB | 0755 |
|
dhclient.conf | File | 262 B | 0644 |
|
dhcp-root.sh | File | 926 B | 0755 |
|
ifname-genrules.sh | File | 1.2 KB | 0755 |
|
ifup.sh | File | 13.6 KB | 0755 |
|
kill-dhclient.sh | File | 362 B | 0755 |
|
module-setup.sh | File | 4.72 KB | 0755 |
|
net-genrules.sh | File | 3.67 KB | 0755 |
|
net-lib.sh | File | 24.13 KB | 0755 |
|
netroot.sh | File | 2.72 KB | 0755 |
|
parse-bond.sh | File | 1.96 KB | 0755 |
|
parse-bridge.sh | File | 1.1 KB | 0755 |
|
parse-ibft.sh | File | 393 B | 0755 |
|
parse-ifname.sh | File | 662 B | 0755 |
|
parse-ip-opts.sh | File | 4.8 KB | 0755 |
|
parse-team.sh | File | 983 B | 0755 |
|
parse-vlan.sh | File | 532 B | 0755 |
|