openwrtv3/package/base-files
Gabor Juhos 23cf426324 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: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
[juhosg: add more fixes, update commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38690
2013-11-08 12:16:21 +00:00
..
files base-files: mtd_get_mac_ascii bugfix 2013-11-08 12:16:21 +00:00
image-config.in Add package signing infrastructure 2013-10-02 12:12:10 +00:00
Makefile base-files: mtd_get_mac_ascii bugfix 2013-11-08 12:16:21 +00:00