Fastbootd: auto ssh server start
Change-Id: I3e9c53c3d834726c3747e9ee0665ed027f55b08c
diff --git a/fastbootd/fastbootd.c b/fastbootd/fastbootd.c
index 66f5fca..085cbfa 100644
--- a/fastbootd/fastbootd.c
+++ b/fastbootd/fastbootd.c
@@ -31,6 +31,7 @@
void config_init();
int transport_socket_init();
int network_discovery_init();
+void ssh_server_start();
int main(int argc, char **argv)
{
@@ -77,6 +78,7 @@
usb_init();
if (!transport_socket_init())
exit(1);
+ ssh_server_start();
network_discovery_init();
while (1) {
sleep(1);