summaryrefslogtreecommitdiff
path: root/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bbappend
blob: 2b5b932af566aa4729f7ad97d59139eb3db4d254 (plain)
1
2
3
4
5
6
7
8
9
# disable usb-gadget on mtr
do_install_append_mtr() {
    sed -i 's/ENABLED="yes"/ENABLED="no"/g' ${D}${sysconfdir}/default/usb-gadget
}

# disable usb-gadget on mtrv1
do_install_append_mtrv1() {
    sed -i 's/ENABLED="yes"/ENABLED="no"/g' ${D}${sysconfdir}/default/usb-gadget
}