Skip to content

Commit

Permalink
[adb] Add dhcp server start for ADB mode. Contributes: JB#30264
Browse files Browse the repository at this point in the history
Also start the dhcp server so we have network connectivity too,
in case this would be needed in combination with the adb mode.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Jul 2, 2015
1 parent 22c9f93 commit 56e6613
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/run/udhcpd-adb-mode.ini
@@ -0,0 +1,5 @@
[info]
name = udhcpd.service
mode = adb_mode
systemd = 1
post = 1
1 change: 1 addition & 0 deletions rpm/usb-moded.spec
Expand Up @@ -401,6 +401,7 @@ systemctl daemon-reload || :
%{_sysconfdir}/usb-moded/dyn-modes/adb_mode.ini
%{_sysconfdir}/usb-moded/run/adb-startserver.ini
%{_sysconfdir}/usb-moded/run/adb-prepare.ini
%{_sysconfdir}/usb-moded/run/udhcpd-adb-mode.ini

%files mtp-mode-android
%defattr(-,root,root,-)
Expand Down

0 comments on commit 56e6613

Please sign in to comment.