openwrtv3/package/base-files/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
..
bin base-files: ipcalc.sh: fix broken calculations on 64bit systems 2012-12-23 22:18:43 +00:00
etc base-files: Make /etc/init.d/boot restartable 2013-11-07 12:45:57 +00:00
lib base-files: mtd_get_mac_ascii bugfix 2013-11-08 12:16:21 +00:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: implement -l (--list-backup) sysupgrade parameter to list the files that would be backed up 2013-07-31 18:11:55 +00:00