ramips: dont replace the board name
[oweals/openwrt.git] / package / boot / uboot-envtools / files / pistachio
index 56bac3580435f116812f6f6f94474a69b2a226c4..e4aa7b0cd960bf66c545c69fb28b90ac1e9779f2 100644 (file)
 
 touch /etc/config/ubootenv
 
-. /lib/pistachio.sh
 . /lib/uboot-envtools.sh
 . /lib/functions.sh
 
-board=$(pistachio_board_name)
+board=$(board_name)
 
 case "$board" in
-marduk)
+img,pistachio-marduk)
        ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x2000" "0x1000"
        ;;
 esac