Always use provided dir300-flash
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This commit is contained in:
parent
92991371f6
commit
fb277ed060
1 changed files with 1 additions and 5 deletions
|
@ -53,11 +53,7 @@ board_flash() {
|
||||||
iptables -P OUTPUT ACCEPT
|
iptables -P OUTPUT ACCEPT
|
||||||
|
|
||||||
echo "Flashing now! Please plugin your router into the powerline now"
|
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
|
./flash_tools/dir300-flash/dir300-flash.sh $1 ./bin/openwrt-$machine-vmlinux.lzma ./bin/openwrt-$machine-root.squashfs
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Starting Networkmanager again"
|
echo "Starting Networkmanager again"
|
||||||
sleep 5;
|
sleep 5;
|
||||||
|
|
Loading…
Add table
Reference in a new issue