Last active
July 12, 2016 08:22
-
-
Save corny/67bd780d5f65931bb33e1de391a0a255 to your computer and use it in GitHub Desktop.
Breminale flasher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
remote=$1 | |
options="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=15 -o ServerAliveInterval=10" | |
filename=gluon-ffhb-2016.1.5+breminale1-tp-link-tl-wdr3600-v1-sysupgrade.bin | |
scp $options /tmp/$filename "root@[$remote]:/tmp/" | |
ssh $options "root@$remote" "sysupgrade -n /tmp/$filename" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment