diff options
Diffstat (limited to 'target/linux/cns3xxx/base-files')
-rw-r--r-- | target/linux/cns3xxx/base-files/lib/cns3xxx.sh | 9 |
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 fb2c1043e1..877f9f8749 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" -} |