diff options
author | Runar Borge <runar@borge.nu> | 2019-07-05 21:36:16 +0200 |
---|---|---|
committer | Runar Borge <runar@borge.nu> | 2019-07-05 21:36:16 +0200 |
commit | dadc594e08c41b6bc912d7348b8e762c25b8d2c4 (patch) | |
tree | da3283c64f003976613435407e7943c96b807e6d /templates | |
parent | 8c7b09c1487547df339037cfae861d78bd51a17f (diff) | |
download | vyatta-op-dadc594e08c41b6bc912d7348b8e762c25b8d2c4.tar.gz vyatta-op-dadc594e08c41b6bc912d7348b8e762c25b8d2c4.zip |
T1499: Allow for usage of systemd interface mappings
Diffstat (limited to 'templates')
-rw-r--r-- | templates/clear/interfaces/ethernet/node.tag/node.def | 2 | ||||
-rw-r--r-- | templates/show/dhcp/client/leases/interface/node.tag/node.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/clear/interfaces/ethernet/node.tag/node.def b/templates/clear/interfaces/ethernet/node.tag/node.def index 17e07e1..ca48b57 100644 --- a/templates/clear/interfaces/ethernet/node.tag/node.def +++ b/templates/clear/interfaces/ethernet/node.tag/node.def @@ -1,4 +1,4 @@ help: Clear interface information for a given ethernet interface allowed: local -a array ; - array=( /sys/class/net/eth* ) ; + array=( /sys/class/net/eth* /sys/class/net/en* ) ; echo -n ${array[@]##*/} diff --git a/templates/show/dhcp/client/leases/interface/node.tag/node.def b/templates/show/dhcp/client/leases/interface/node.tag/node.def index b0120d0..a987d28 100644 --- a/templates/show/dhcp/client/leases/interface/node.tag/node.def +++ b/templates/show/dhcp/client/leases/interface/node.tag/node.def @@ -1,5 +1,5 @@ help: Show DHCP client information for interface allowed: local -a array ; - array=( /sys/class/net/eth* ) ; + array=( /sys/class/net/eth* /sys/class/net/en* ) ; echo -n ${array[@]##*/} run: /opt/vyatta/bin/vyatta-show-dhclient.pl "$6" |