ramips: Remove base-files/lib/ramips.sh
[openwrt/staging/wigyori.git] / target / linux / ramips / base-files / lib / ramips.sh
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
deleted file mode 100755 (executable)
index 53fc7c3..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2010-2013 OpenWrt.org
-#
-
-ramips_board_detect() {
-       local machine
-       local name
-
-       machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
-
-       case "$machine" in
-       *"MT7688 evaluation"*)
-               name="mt7688"
-               ;;
-       esac
-
-       # use generic board detect if no name is set
-       [ -z "$name" ] && return
-
-       [ -e "/tmp/sysinfo/" ] || mkdir -p "/tmp/sysinfo/"
-
-       echo "$name" > /tmp/sysinfo/board_name
-       echo "$machine" > /tmp/sysinfo/model
-}