From 7296c90dff5e260c6279aed071fe507a4ddedc4a Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 10 Jan 2013 14:37:10 +0100 Subject: emergency commit, i am so sorry... --- minikrebs/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'minikrebs/upgrade') 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" -- cgit v1.2.3