summaryrefslogtreecommitdiff
path: root/packages/usb-gadget-mode
diff options
context:
space:
mode:
Diffstat (limited to 'packages/usb-gadget-mode')
-rwxr-xr-xpackages/usb-gadget-mode/files/usb-gadget2
-rw-r--r--packages/usb-gadget-mode/usb-gadget-mode.bb4
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/usb-gadget-mode/files/usb-gadget b/packages/usb-gadget-mode/files/usb-gadget
index 611703f09d..4fdc429f5b 100755
--- a/packages/usb-gadget-mode/files/usb-gadget
+++ b/packages/usb-gadget-mode/files/usb-gadget
@@ -10,7 +10,7 @@
#
# 20070606 - v0.0.1 - Initial release
-CONF_FILE="/etc/usb-gadget.conf"
+CONF_FILE="/etc/default/usb-gadget"
die() {
echo "ERROR: $1"
diff --git a/packages/usb-gadget-mode/usb-gadget-mode.bb b/packages/usb-gadget-mode/usb-gadget-mode.bb
index 7c2083e99b..ab373c772d 100644
--- a/packages/usb-gadget-mode/usb-gadget-mode.bb
+++ b/packages/usb-gadget-mode/usb-gadget-mode.bb
@@ -15,7 +15,7 @@ LICENSE = "GPL"
######################################################################################
PV = "0.0.1"
-PR = "r0"
+PR = "r1"
######################################################################################
@@ -34,7 +34,7 @@ do_install() {
install -d ${D}/etc/init.d
install -d ${D}/usr/bin
- install -m 0644 ${WORKDIR}/usb-gadget.conf ${D}/etc
+ install -m 0644 ${WORKDIR}/usb-gadget.conf ${D}/etc/default/usb-gadget
install -m 0755 ${WORKDIR}/usb-gadget.init ${D}/etc/init.d/usb-gadget
install -m 0755 ${WORKDIR}/usb-gadget ${D}/usr/bin
}