On my system the command 'sudo eopkg up -y' drops the connection about every 35 megs, and I have to babysit the update so I can kill eopkg and restart. I got the below auto-restart command from a message here, but I could not re-find the message to reply.
until sh -c 'sudo eopkg up -y';do echo "Trying again";done
The command does not work for me as presented. With 'sudo' in the loop the user is prompted for a password every time the connection drops, which means I still have to babysit the update. My adjustment is to take 'sudo' out of the command, put the command in a script, make it executable, and 'sudo' the script.
Contents of the script file:
#!/bin/bash
until sh -c 'eopkg up -y';do echo "Trying again";done
I named the script file solusupdate.scr, so the command to run it is:
sudo /path-to-the-script/solusupdate.scr
Every time the connection drops it takes about 5 min to time-out so the auto-update adds significant time, but it's still better that babysitting.
Mike