This script was resonsible for activating networking over usb but is not needed anymore as
our default kernel for the palmpre machine activates usb networking per default.
Signed-off-by: Simon Busch <morphis@gravedo.de>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
+++ /dev/null
-#!/bin/sh
-
-# usb gadget configuration:
-# there already different configurations on the palm pre defined,
-# we choose nr 5 cause it provides the usbnet, novacom
-# and storage gadget
-if [ -e /sys/class/usb_gadget/config_num ]; then
- echo 5 > /sys/class/usb_gadget/config_num
-fi
-
RDEPENDS_${PN} = "procps"
LICENSE = "GPL"
PV = "0.0.1"
-PR = "r19"
+PR = "r20"
RCONFLICTS_${PN} = "initscripts"
file://umountfs \
file://umountnfs.sh \
"
-SRC_URI_append_palmpre = " file://usb-gadget.sh"
inherit base
install -m 0755 ${WORKDIR}/umountfs ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/umountnfs.sh ${D}${sysconfdir}/init.d
- if [ "${MACHINE}" == "palmpre" ]; then
- install -m 0755 ${WORKDIR}/usb-gadget.sh ${D}${sysconfdir}/init.d
- ln -sf ../init.d/usb-gadget.sh ${D}${sysconfdir}/rcS.d/S00usb-gadget.sh
- fi
-
#
# Create runlevel links
#