treewide: use the generic board_name function
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / oxnas
index ac4744e3e26a2061667ed11862fc4dc0cbeb2f79..70b0f1663a8f18d404df46186feef69eeed4b123 100644 (file)
@@ -7,11 +7,10 @@
 
 touch /etc/config/ubootenv
 
-. /lib/oxnas.sh
 . /lib/uboot-envtools.sh
 . /lib/functions.sh
 
-board=$(oxnas_board_name)
+board=$(board_name)
 
 case "$board" in
 akitio|\