mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-11-04 15:04:05 +00:00 
			
		
		
		
	If we can chown /etc/frr then fine, but there's circumstances where we won't be able to - for instance, if running FRR in Kubernetes where /etc/frr/* is actually a virtual filesystem. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			152 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			152 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
set -e
 | 
						|
 | 
						|
##
 | 
						|
# For volume mounts...
 | 
						|
##
 | 
						|
chown -R frr:frr /etc/frr || true
 | 
						|
/usr/lib/frr/frrinit.sh start
 | 
						|
 | 
						|
# Sleep forever
 | 
						|
exec tail -f /dev/null
 |