update for upstream change on file extension
The scripts are expected to have the file extension ".rsc" now.
This commit is contained in:
		
							parent
							
								
									fa5291f6d1
								
							
						
					
					
						commit
						8ca434ec05
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -17,7 +17,7 @@ Requirements and installation
 | 
			
		|||
 | 
			
		||||
Just install the script:
 | 
			
		||||
 | 
			
		||||
    $ScriptInstallUpdate hello-world.rsc "base-url=https://git.eworm.de/cgit/routeros-scripts-custom/plain/"
 | 
			
		||||
    $ScriptInstallUpdate hello-world "base-url=https://git.eworm.de/cgit/routeros-scripts-custom/plain/"
 | 
			
		||||
 | 
			
		||||
Configuration
 | 
			
		||||
-------------
 | 
			
		||||
| 
						 | 
				
			
			@ -30,7 +30,7 @@ Usage and invocation
 | 
			
		|||
 | 
			
		||||
Just run the script:
 | 
			
		||||
 | 
			
		||||
    /system/script/run hello-world.rsc;
 | 
			
		||||
    /system/script/run hello-world;
 | 
			
		||||
 | 
			
		||||
See also 
 | 
			
		||||
--------
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,12 +1,12 @@
 | 
			
		|||
#!rsc by RouterOS
 | 
			
		||||
# RouterOS script: hello-world.rsc
 | 
			
		||||
# RouterOS script: hello-world
 | 
			
		||||
# Copyright (c) 2023 Christian Hesse <mail@eworm.de>
 | 
			
		||||
# https://git.eworm.de/cgit/routeros-scripts-custom/about/COPYING.md
 | 
			
		||||
#
 | 
			
		||||
# hello-world demo script
 | 
			
		||||
# https://git.eworm.de/cgit/routeros-scripts-custom/about/doc/hello-world.md
 | 
			
		||||
 | 
			
		||||
:local 0 "hello-world.rsc";
 | 
			
		||||
:local 0 "hello-world";
 | 
			
		||||
:global GlobalFunctionsReady;
 | 
			
		||||
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue