summaryrefslogtreecommitdiffstats
path: root/minikrebs/upgrade
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-01-10 14:37:10 +0100
committermakefu <github@syntax-fehler.de>2013-01-10 14:37:10 +0100
commit7296c90dff5e260c6279aed071fe507a4ddedc4a (patch)
treef569e130dee7b084c1afc078e0d19e17b7578362 /minikrebs/upgrade
parent9b29cf3939802ab1cf634e6185f5b0beac52e590 (diff)
emergency commit, i am so sorry...
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"