mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 14:04:26 -04:00 
			
		
		
		
	The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software. Failsafe code of dropbear should be in the dropbear package not the base-files package. Signed-off-by: Kyle Copperfield <kmcopper@danwin1210.me>
		
			
				
	
	
		
			9 lines
		
	
	
		
			204 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			204 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| failsafe_dropbear () {
 | |
| 	dropbearkey -t rsa -s 1024 -f /tmp/dropbear_failsafe_host_key
 | |
| 	dropbear -r /tmp/dropbear_failsafe_host_key <> /dev/null 2>&1
 | |
| }
 | |
| 
 | |
| boot_hook_add failsafe failsafe_dropbear
 |