summaryrefslogtreecommitdiff
path: root/packages/usb-gadget-mode
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2007-06-06 23:24:07 +0000
committerMatthias Hentges <oe@hentges.net>2007-06-06 23:24:07 +0000
commit93e4b32cc494bffacdcc216924eb9aaa6a9861cd (patch)
tree15a5d00040052e65e585158800f5c3604b7ab6bd /packages/usb-gadget-mode
parent17e36de1bc84f625ac59e7180038923b09657057 (diff)
usb-gadget-mode: Move /etc/usb-gadget.conf to /etc/default/usb-gadget as suggested on the ML
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
}