git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/erase-broken-modules/wiper
blob: 5c8a7f523a1c9d4e0d6955390b31d6638926348d (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env sh

MIKROTIK_HOSTNAME="banana"
NPK_VERSION="6.49.5"
ARCH="arm"

scp wiper.rsc "${MIKROTIK_HOSTNAME}:wiper.rsc"||exit 1
scp "routeros-${ARCH}-${NPK_VERSION}.npk" "${MIKROTIK_HOSTNAME}:routeros-${ARCH}-${NPK_VERSION}.npk"||exit 2
ssh "$MIKROTIK_HOSTNAME" "/import wiper.rsc"