Browse Source

And another commit with

multiple lines comment
and multiple commits
pull/1/head
Julien Escario 5 years ago
parent
commit
6fca5d9912
  1. 1
      routeros/README.md
  2. 1
      routeros/add-music.rsc

1
routeros/README.md

@ -3,6 +3,7 @@ Run fresh Powerbox configuration :
RBNAME='P6-PB'; ssh -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile /dev/null" admin@192.168.88.1 '/tool fetch url="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/routeros/powerbox-init.rsc" dst-path=/flash/init.rsc; /file print file=flash/name.txt; :delay 1s; /file set "flash/name.txt" contents="'"$RBNAME"'"; /system reset-configuration no-defaults=yes run-after-reset=flash/init.rsc;' RBNAME='P6-PB'; ssh -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile /dev/null" admin@192.168.88.1 '/tool fetch url="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/routeros/powerbox-init.rsc" dst-path=/flash/init.rsc; /file print file=flash/name.txt; :delay 1s; /file set "flash/name.txt" contents="'"$RBNAME"'"; /system reset-configuration no-defaults=yes run-after-reset=flash/init.rsc;'
``` ```
Run fresh RB SXT configuration : Run fresh RB SXT configuration :
``` ```
RBNAME='P6-DOWN'; ssh -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile /dev/null" admin@192.168.88.1 '/ip dhcp-client set 0 interface=ether1; :delay 10s; /tool fetch url="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/routeros/sxt5ac-init.rsc" dst-path=/flash/init.rsc; /file print file=flash/name.txt; :delay 1s; /file set "flash/name.txt" contents="'"$RBNAME"'"; /system reset-configuration no-defaults=yes run-after-reset=flash/init.rsc;' RBNAME='P6-DOWN'; ssh -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile /dev/null" admin@192.168.88.1 '/ip dhcp-client set 0 interface=ether1; :delay 10s; /tool fetch url="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/routeros/sxt5ac-init.rsc" dst-path=/flash/init.rsc; /file print file=flash/name.txt; :delay 1s; /file set "flash/name.txt" contents="'"$RBNAME"'"; /system reset-configuration no-defaults=yes run-after-reset=flash/init.rsc;'

1
routeros/add-music.rsc

@ -12,6 +12,7 @@ add name="Music: Super Mario Bros" owner=admin policy=read source=":beep frequen
\n:beep frequency=770 length=100ms;\ \n:beep frequency=770 length=100ms;\
\n:delay 550ms;\ \n:delay 550ms;\
\n:beep frequency=380 length=100ms;" \n:beep frequency=380 length=100ms;"
add name="Music: Thunderstruck" owner=admin policy=read source=":local n11 63,66;\ add name="Music: Thunderstruck" owner=admin policy=read source=":local n11 63,66;\
\n:local n12 64,67;\ \n:local n12 64,67;\
\n:local n21 71,69,68,69,68,66,68,64,66,63;\ \n:local n21 71,69,68,69,68,66,68,64,66,63;\

Loading…
Cancel
Save