mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
9 lines
204 B
Plaintext
9 lines
204 B
Plaintext
|
#!/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
|