$something variable in script uploads empty on router...

Trying to update login page with script via WebManager.. but value="$(mac)" → end up in router value=" " (every row which contain value=“$foo” → uploads " " )

  • How to do (fix) script which contain “$(something)” which is not variable in script.. Its only variable on working later router itself after uploading ?

##################%<###################
/file set “hotspot/login.html” contents="

Mikrotik HotSpot System $(if chap-id) JavaScript required. Enable JavaScript to continue. $(endif) If you are not redirected in a few seconds, click 'continue' below
" ##################>%###################
  • thanks !

br.
.K