summaryrefslogtreecommitdiff
path: root/target/linux/oxnas/base-files/lib/oxnas.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/oxnas/base-files/lib/oxnas.sh')
-rwxr-xr-xtarget/linux/oxnas/base-files/lib/oxnas.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/target/linux/oxnas/base-files/lib/oxnas.sh b/target/linux/oxnas/base-files/lib/oxnas.sh
index b0d79ea..671dd05 100755
--- a/target/linux/oxnas/base-files/lib/oxnas.sh
+++ b/target/linux/oxnas/base-files/lib/oxnas.sh
@@ -64,12 +64,3 @@ oxnas_board_detect() {
echo "$OXNAS_BOARD_NAME" > /tmp/sysinfo/board_name
echo "$OXNAS_MODEL" > /tmp/sysinfo/model
}
-
-oxnas_board_name() {
- local name
-
- [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name)
- [ -z "$name" ] && name="unknown"
-
- echo "$name"
-}