summaryrefslogtreecommitdiff
path: root/target/linux/apm821xx/base-files/lib/apm821xx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/apm821xx/base-files/lib/apm821xx.sh')
-rwxr-xr-xtarget/linux/apm821xx/base-files/lib/apm821xx.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/target/linux/apm821xx/base-files/lib/apm821xx.sh b/target/linux/apm821xx/base-files/lib/apm821xx.sh
index 98f6ee9..8f0814b 100755
--- a/target/linux/apm821xx/base-files/lib/apm821xx.sh
+++ b/target/linux/apm821xx/base-files/lib/apm821xx.sh
@@ -41,12 +41,3 @@ apm821xx_board_detect() {
echo "$APM821XX_BOARD_NAME" > /tmp/sysinfo/board_name
echo "$APM821XX_MODEL" > /tmp/sysinfo/model
}
-
-apm821xx_board_name() {
- local name
-
- [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name)
- [ -z "$name" ] && name="unknown"
-
- echo "$name"
-}