Skip to content
Snippets Groups Projects
Commit 23cf4263 authored by Gabor Juhos's avatar Gabor Juhos
Browse files

base-files: mtd_get_mac_ascii bugfix


The mtd_get_mac_ascii utility function was broken. This fixes it.

  - Remove the superfluous include of /lib/functions.sh. The
    function is already in that file so it is pointless,
  - only use a variable if the whole key word matches,
  - don't try to process the MAC address if it is empty,
  - use 'tr' to canonicalize the MAC address,

Signed-off-by: default avatarDaniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
[juhosg: add more fixes, update commit message]
Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38690
parent 7bd3a7bc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment