mirror of
				https://github.com/laurivosandi/certidude
				synced 2025-10-31 17:39:12 +00:00 
			
		
		
		
	* Reverse RDN components for all certs * Less side effects in unittests * Split help dialog shell snippets into separate files * Restore 'admin subnets' config option * Embedded subnets, IKE and ESP proposals now configurable in builder.conf * Use expr instead of bc for math operations in shell * Better frontend support for Let's Encrypt certificates
		
			
				
	
	
		
			11 lines
		
	
	
		
			270 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			270 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| # To test: ACTION=ifup INTERFACE=wan sh /etc/hotplug.d/iface/50-certidude
 | |
| 
 | |
| AUTHORITY=certidude.@authority[0]
 | |
| 
 | |
| [ $ACTION == "ifup" ] || exit 0
 | |
| [ $INTERFACE == "$(uci get $AUTHORITY.trigger)" ] || exit 0
 | |
| 
 | |
| /usr/bin/certidude-enroll > /var/log/certidude.log 2>&1
 |