openwrtv4/package/base-files/files/lib
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
..
functions base-files: reject invalid uci keys in network_get_device() and related procedures (#13886) 2013-07-15 13:42:58 +00:00
preinit base-files: be verbose when entering failsafe due to a button being pressed 2013-07-25 20:28:36 +00:00
upgrade kernel/base-files: clean up old code related to refreshing mtd partitions, it is no longer used anywhere 2013-07-14 12:56:58 +00:00
functions.sh base-files: mtd_get_mac_ascii bugfix 2013-11-08 12:16:21 +00:00