Browse Source

Added first routeros upgrade for all devices

pull/1/head
Julien Escario 5 years ago
parent
commit
5716aa4f29
  1. 2
      routeros/powerbox-init.rsc
  2. 7
      routeros/rbmetal2-init.rsc
  3. 7
      routeros/rbmetal5-init.rsc
  4. 7
      routeros/sxt5ac-init.rsc

2
routeros/powerbox-init.rsc

@ -30,5 +30,5 @@ set discover-interface-list=discover
set channel=long-term set channel=long-term
/system package update /system package update
check-for-updates once check-for-updates once
:delay 5s;
:delay 10s;
:if ( [get status] = "New version is available") do={ install } :if ( [get status] = "New version is available") do={ install }

7
routeros/rbmetal2-init.rsc

@ -31,3 +31,10 @@ add interface=bridge list=discover
set discover-interface-list=discover set discover-interface-list=discover
:delay 5s :delay 5s
/tool fetch url="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/routeros/add-music.rsc" dst-path=add-music.rsc; /import add-music.rsc; /system script run "Music: Thunderstruck"; /tool fetch url="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/routeros/add-music.rsc" dst-path=add-music.rsc; /import add-music.rsc; /system script run "Music: Thunderstruck";
/system package enable ipv6
/system package update
set channel=long-term
/system package update
check-for-updates once
:delay 10s;
:if ( [get status] = "New version is available") do={ install }

7
routeros/rbmetal5-init.rsc

@ -30,3 +30,10 @@ add interface=bridge list=discover
set discover-interface-list=discover set discover-interface-list=discover
:delay 5s :delay 5s
/tool fetch url="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/routeros/add-music.rsc" dst-path=add-music.rsc; /import add-music.rsc; /system script run "Music: Thunderstruck"; /tool fetch url="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/routeros/add-music.rsc" dst-path=add-music.rsc; /import add-music.rsc; /system script run "Music: Thunderstruck";
/system package enable ipv6
/system package update
set channel=long-term
/system package update
check-for-updates once
:delay 10s;
:if ( [get status] = "New version is available") do={ install }

7
routeros/sxt5ac-init.rsc

@ -32,3 +32,10 @@ add interface=bridge list=discover
set discover-interface-list=discover set discover-interface-list=discover
:delay 5s :delay 5s
/tool fetch url="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/routeros/add-music.rsc" dst-path=add-music.rsc; /import add-music.rsc; /system script run "Music: Thunderstruck"; /tool fetch url="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/routeros/add-music.rsc" dst-path=add-music.rsc; /import add-music.rsc; /system script run "Music: Thunderstruck";
/system package enable ipv6
/system package update
set channel=long-term
/system package update
check-for-updates once
:delay 10s;
:if ( [get status] = "New version is available") do={ install }
Loading…
Cancel
Save