mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
0da193ee69
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
|