Commit 2d30b7cc authored by Philippe De Swert's avatar Philippe De Swert

[usb-moded] Add dhcp server support to developer mode

Signed-off-by: default avatarPhilippe De Swert <philippe.deswert@jollamobile.com>
parent d25ed3d7
......@@ -12,3 +12,4 @@ softconnect_path = /sys/class/android_usb/android0/enable
softconnect = 1
softconnec_disconnect = 0
idProduct = 0A02
dhcp = 1
......@@ -3,3 +3,6 @@ name = developer_mode
module = g_ether
network = 1
network_interface = usb0
[options]
dhcp = 1
[info]
name = udhcpd.service
mode = developer_mode
systemd = 1
post = 1
......@@ -295,6 +295,7 @@ systemctl daemon-reload
%files developer-mode-android
%defattr(-,root,root,-)
%{_sysconfdir}/usb-moded/dyn-modes/developer_mode-android.ini
%{_sysconfdir}/config/run/udhcpd-developer-mode.ini
%files adb-mode
%defattr(-,root,root,-)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment