summaryrefslogtreecommitdiffstats
path: root/minikrebs/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'minikrebs/upgrade')
-rwxr-xr-xminikrebs/upgrade4
1 files changed, 2 insertions, 2 deletions
diff --git a/minikrebs/upgrade b/minikrebs/upgrade
index e36ed5ad..ee41743b 100755
--- a/minikrebs/upgrade
+++ b/minikrebs/upgrade
@@ -22,8 +22,8 @@ if [ -e "$IMAGE" ];then
sleep 1
SERVER_PID=$!
ssh root@$IP "wget -O /tmp/firmware.bin http://${OWN_ADDR}:${PORT}/${IMAGE} \
- && mtd write /tmp/firmware.bin firmware \
- && reboot"
+ && /sbin/mtd write /tmp/firmware.bin firmware \
+ && /sbin/reboot"
kill $SERVER_PID
else
echo "cannot find ar71xx build, aborting"