Commit Graph

3 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther e9379558e3 dropbear: Do not kill client connections when restarting the daemon
The upgrade of the unit broke due killing all client connections. opkg
got a SIGHUP and didn't write out the state files. Do not kill the
client connections on upgrade.
2013-02-15 19:23:36 +01:00
Holger Hans Peter Freyther b92f71e94b dropbear: Make sure the dropbear key is generated on first boot
The previous patch made sure a truncated key would be re-generated
but it broke the case that there is no key at all. This code is
handling both cases now. Use quotes as code outside this method
is using them too. Use the -a and not the && operator to work with
the busybox version of [ and ].
2013-01-14 01:18:28 +01:00
Holger Hans Peter Freyther 8431d916a5 dropbear: Add an init script that removes truncated keys
It is possible that the key is truncated, remove it in this case.
2013-01-03 22:47:14 +01:00