Always use provided dir300-flash

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This commit is contained in:
Tim Niemeyer 2013-03-29 15:40:03 +01:00
parent 92991371f6
commit fb277ed060
1 changed files with 1 additions and 5 deletions

View File

@ -53,11 +53,7 @@ board_flash() {
iptables -P OUTPUT ACCEPT
echo "Flashing now! Please plugin your router into the powerline now"
if [ -f /usr/sbin/dir300-flash ]; then
/usr/sbin/dir300-flash $1 ./bin/openwrt-$machine-vmlinux.lzma ./bin/openwrt-$machine-root.squashfs
else
./flash_tools/dir300-flash/dir300-flash.sh $1 ./bin/openwrt-$machine-vmlinux.lzma ./bin/openwrt-$machine-root.squashfs
fi
./flash_tools/dir300-flash/dir300-flash.sh $1 ./bin/openwrt-$machine-vmlinux.lzma ./bin/openwrt-$machine-root.squashfs
echo "Starting Networkmanager again"
sleep 5;