diff --git a/routeros/powerbox-init.rsc b/routeros/powerbox-init.rsc index aa16d2f..3723451 100644 --- a/routeros/powerbox-init.rsc +++ b/routeros/powerbox-init.rsc @@ -30,5 +30,5 @@ set discover-interface-list=discover set channel=long-term /system package update check-for-updates once -:delay 5s; +:delay 10s; :if ( [get status] = "New version is available") do={ install } diff --git a/routeros/rbmetal2-init.rsc b/routeros/rbmetal2-init.rsc index d10cec3..5b8afec 100644 --- a/routeros/rbmetal2-init.rsc +++ b/routeros/rbmetal2-init.rsc @@ -31,3 +31,10 @@ add interface=bridge list=discover set discover-interface-list=discover :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"; +/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 } diff --git a/routeros/rbmetal5-init.rsc b/routeros/rbmetal5-init.rsc index 6b9df85..5db94b8 100644 --- a/routeros/rbmetal5-init.rsc +++ b/routeros/rbmetal5-init.rsc @@ -30,3 +30,10 @@ add interface=bridge list=discover set discover-interface-list=discover :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"; +/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 } diff --git a/routeros/sxt5ac-init.rsc b/routeros/sxt5ac-init.rsc index 5fe5334..19d138a 100644 --- a/routeros/sxt5ac-init.rsc +++ b/routeros/sxt5ac-init.rsc @@ -32,3 +32,10 @@ add interface=bridge list=discover set discover-interface-list=discover :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"; +/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 }