You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
792 B
28 lines
792 B
:delay 15s
|
|
/interface bridge
|
|
add name=bridge
|
|
/interface bridge port
|
|
add bridge=bridge interface=ether1
|
|
add bridge=bridge interface=ether2
|
|
add bridge=bridge interface=ether3
|
|
add bridge=bridge interface=ether4
|
|
add bridge=bridge interface=ether5
|
|
/system identity set name=[/file get flash/name.txt contents]
|
|
/ip dhcp-client
|
|
add dhcp-options=hostname,clientid disabled=no interface=bridge
|
|
/ip service
|
|
set telnet disabled=yes
|
|
set ftp disabled=yes
|
|
set www disabled=yes
|
|
set api disabled=yes
|
|
/system clock
|
|
set time-zone-name=Europe/Paris
|
|
/system ntp client
|
|
set enabled=yes server-dns-names=fr.pool.ntp.org
|
|
/system package enable ipv6
|
|
/system package update
|
|
set channel=long-term
|
|
/system package update
|
|
check-for-updates once
|
|
:delay 5s;
|
|
:if ( [get status] = "New version is available") do={ install }
|