Browse Source

Add some music after completion

pull/1/head
Julien Escario 5 years ago
parent
commit
bfb88026dc
  1. 8
      routeros/add-music.rsc
  2. 4
      routeros/sxt5ac-init.rsc

8
routeros/add-music.rsc

@ -334,12 +334,4 @@ add name="Music: Crazy Train" owner=admin policy=read source=":beep frequency=37
\n:delay 800ms;\ \n:delay 800ms;\
\n:beep frequency=330 length=775ms;\ \n:beep frequency=330 length=775ms;\
\n:delay 800ms;" \n:delay 800ms;"
add name="Startup: Crazy Train" owner=admin policy=read source="delay 5;\
\n/system script run \"Music: Crazy Train\";"
add name="Startup: Thunderstruck" owner=admin policy=read source="delay 5;\
\n/system script run \"Music: Thunderstruck\";"
add name="Startup: Imperial March" owner=admin policy=read source="delay 5;\
\n/system script run \"Music: Imperial March (Star Wars)\";"
add name="Startup: Jurassic Park" owner=admin policy=read source="delay 5;\
\n/system script run \"Music: Jurassic Park\";"
/system routerboard settings set silent-boot=no /system routerboard settings set silent-boot=no

4
routeros/sxt5ac-init.rsc

@ -15,4 +15,6 @@ set api disabled=yes
set time-zone-name=Europe/Paris set time-zone-name=Europe/Paris
/system ntp client /system ntp client
set enabled=yes server-dns-names=fr.pool.ntp.org set enabled=yes server-dns-names=fr.pool.ntp.org
:beep frequency=1320 length=150ms; :delay 200ms; :beep frequency=1320 length=150ms; :delay 200ms; :beep frequency=1320 length=150ms; :delay 200ms; :beep frequency=1320 length=150ms; :delay 200ms; :beep frequency=1568 length=150ms; :delay 200ms; :beep frequency=1760 length=150ms; :delay 200ms; :beep frequency=1568 length=150ms; :delay 200ms; :beep frequency=1760 length=150ms; :delay 200ms;
/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"
Loading…
Cancel
Save