You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
204 B
Plaintext
9 lines
204 B
Plaintext
5 years ago
|
#!/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
|