mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-11-04 08:28:50 +00:00 
			
		
		
		
	Add ability to set your own env for the version of the docker container alpine image. This is useful for applications like GNS3 who pin a specific version to look for when they boot up. When you build locally to test your code you can just set the version to 0 so you don't have to update configs/scripts looking for a specific image version. Also fix a shebang in docker start for alpine. Signed-off-by: Stephen Worley <sworley@nvidia.com>
		
			
				
	
	
		
			19 lines
		
	
	
		
			368 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			368 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
if [ -r "/lib/lsb/init-functions" ]; then
 | 
						|
        . /lib/lsb/init-functions
 | 
						|
else
 | 
						|
        log_success_msg() {
 | 
						|
                echo "$@"
 | 
						|
        }
 | 
						|
        log_warning_msg() {
 | 
						|
                echo "$@" >&2
 | 
						|
        }
 | 
						|
        log_failure_msg() {
 | 
						|
                echo "$@" >&2
 | 
						|
        }
 | 
						|
fi
 | 
						|
 | 
						|
source /usr/lib/frr/frrcommon.sh
 | 
						|
/usr/lib/frr/watchfrr $(daemon_list)
 |