diff options
Diffstat (limited to 'package/base-files/files/lib/functions/system.sh')
-rw-r--r-- | package/base-files/files/lib/functions/system.sh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/package/base-files/files/lib/functions/system.sh b/package/base-files/files/lib/functions/system.sh index 7655460..a4c0f26 100644 --- a/package/base-files/files/lib/functions/system.sh +++ b/package/base-files/files/lib/functions/system.sh @@ -1,12 +1,5 @@ # Copyright (C) 2006-2013 OpenWrt.org -find_mtd_index() { - local PART="$(grep "\"$1\"" /proc/mtd | awk -F: '{print $1}')" - local INDEX="${PART##mtd}" - - echo ${INDEX} -} - find_mtd_chardev() { local INDEX=$(find_mtd_index "$1") local PREFIX=/dev/mtd |