From bfb88026dcb74dda39777dfde52e09cc5092752a Mon Sep 17 00:00:00 2001 From: Julien Escario Date: Thu, 14 May 2020 15:44:49 +0200 Subject: [PATCH] Add some music after completion --- routeros/add-music.rsc | 8 -------- routeros/sxt5ac-init.rsc | 4 +++- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/routeros/add-music.rsc b/routeros/add-music.rsc index bc08c8e..17be635 100644 --- a/routeros/add-music.rsc +++ b/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:beep frequency=330 length=775ms;\ \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 diff --git a/routeros/sxt5ac-init.rsc b/routeros/sxt5ac-init.rsc index 0269e47..2904c21 100644 --- a/routeros/sxt5ac-init.rsc +++ b/routeros/sxt5ac-init.rsc @@ -15,4 +15,6 @@ set api disabled=yes set time-zone-name=Europe/Paris /system ntp client 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"