summaryrefslogtreecommitdiff
path: root/target/linux/cns3xxx/base-files/lib/cns3xxx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/cns3xxx/base-files/lib/cns3xxx.sh')
-rw-r--r--target/linux/cns3xxx/base-files/lib/cns3xxx.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/target/linux/cns3xxx/base-files/lib/cns3xxx.sh b/target/linux/cns3xxx/base-files/lib/cns3xxx.sh
index fb2c104..877f9f8 100644
--- a/target/linux/cns3xxx/base-files/lib/cns3xxx.sh
+++ b/target/linux/cns3xxx/base-files/lib/cns3xxx.sh
@@ -26,12 +26,3 @@ cns3xxx_board_detect() {
echo "$CNS3XXX_BOARD_NAME" > /tmp/sysinfo/board_name
echo "$CNS3XXX_MODEL" > /tmp/sysinfo/model
}
-
-cns3xxx_board_name() {
- local name
-
- [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name)
- [ -z "$name" ] && name="unknown"
-
- echo "$name"
-}