diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-03-17 16:21:30 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-03-22 11:43:21 +0100 |
commit | 7e798dab56546d6f8e2fe0f913ff41e8f010af51 (patch) | |
tree | a3d7680454f5f4973dafce23f20515d1f67f796b /target/linux/lantiq/base-files/lib/functions | |
parent | aa95d6cd20f7e08420562b9747c197c2eac1d2e2 (diff) | |
download | upstream-7e798dab56546d6f8e2fe0f913ff41e8f010af51.tar.gz upstream-7e798dab56546d6f8e2fe0f913ff41e8f010af51.tar.bz2 upstream-7e798dab56546d6f8e2fe0f913ff41e8f010af51.zip |
lantiq: remove lantiq_board_name, use the generic function instead
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/lantiq/base-files/lib/functions')
-rw-r--r-- | target/linux/lantiq/base-files/lib/functions/lantiq.sh | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/target/linux/lantiq/base-files/lib/functions/lantiq.sh b/target/linux/lantiq/base-files/lib/functions/lantiq.sh index 89f194b39e..5d760d1d30 100644 --- a/target/linux/lantiq/base-files/lib/functions/lantiq.sh +++ b/target/linux/lantiq/base-files/lib/functions/lantiq.sh @@ -9,15 +9,6 @@ lantiq_board_model() { echo "$model" } -lantiq_board_name() { - local name - - [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name) - [ -z "$name" ] && name="unknown" - - echo "$name" -} - lantiq_get_dt_led() { local label local ledpath |