aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pistachio/base-files/lib/pistachio.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/pistachio/base-files/lib/pistachio.sh')
-rwxr-xr-xtarget/linux/pistachio/base-files/lib/pistachio.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/target/linux/pistachio/base-files/lib/pistachio.sh b/target/linux/pistachio/base-files/lib/pistachio.sh
index f9a16db3ed..9390a4c0ff 100755
--- a/target/linux/pistachio/base-files/lib/pistachio.sh
+++ b/target/linux/pistachio/base-files/lib/pistachio.sh
@@ -32,11 +32,3 @@ pistachio_board_detect() {
echo "$PISTACHIO_BOARD_NAME" > /tmp/sysinfo/board_name
echo "$PISTACHIO_MODEL" > /tmp/sysinfo/model
}
-
-pistachio_board_name() {
- local name
- [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name)
- [ -z "$name" ] && name="unknown"
-
- echo "$name"
-}