summaryrefslogtreecommitdiff
path: root/hotplug/hotplug-20040311
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-11-13 14:10:27 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-11-13 14:10:27 +0000
commitc30694788c495713047c29821a0aa30168982aff (patch)
tree18d0d7ee5c35e74ff0bc2e96ad0328c3263b6775 /hotplug/hotplug-20040311
parent6815ee42464e11f42bf7097d3b4bc1f41effe34b (diff)
next attempt to fix hotplug for collie by installing /etc/default/usbd which was missing since the beginning of time :)
BKrev: 419615d3_ZlVkUOz090cNElRz1yn0w
Diffstat (limited to 'hotplug/hotplug-20040311')
-rw-r--r--hotplug/hotplug-20040311/fix-net.agent29
-rw-r--r--hotplug/hotplug-20040311/logcheck-ignore1
-rw-r--r--hotplug/hotplug-20040311/update-usb.usermap37
3 files changed, 0 insertions, 67 deletions
diff --git a/hotplug/hotplug-20040311/fix-net.agent b/hotplug/hotplug-20040311/fix-net.agent
deleted file mode 100644
index 3bc0935018..0000000000
--- a/hotplug/hotplug-20040311/fix-net.agent
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh -e
-#
-# Since ifupdown of Debian is different than one of RedHat.
-# So we need to fix it
-
-topdir=$1
-dir=$topdir/etc/hotplug
-test -f $dir/net.agent || exit 1
-mv $dir/net.agent $dir/net.agent.orig
-
-sed -e '/^\*)/i\
-unregister)\
- # Assume that we want to run ifdown no matter what, \
- # because it is not going to remove the data from the \
- # ifstate database otherwise.\
- if [ -x /sbin/ifdown ]; then\
- debug_mesg invoke ifdown $INTERFACE\
- exec /sbin/ifdown $INTERFACE\
- else\
- # mesg "how do I bring interfaces up on this distro?"\
- mesg "E: /sbin/ifdown not found. You need to install ifupdown package"\
- fi\
- mesg $1 $ACTION event not handled\
- ;;\
-' $dir/net.agent.orig > $dir/net.agent
-rm -f $dir/net.agent.orig
-chmod 755 $dir/net.agent
-exit 0
-
diff --git a/hotplug/hotplug-20040311/logcheck-ignore b/hotplug/hotplug-20040311/logcheck-ignore
deleted file mode 100644
index b941353041..0000000000
--- a/hotplug/hotplug-20040311/logcheck-ignore
+++ /dev/null
@@ -1 +0,0 @@
-net.agent: invoke if(up|down)
diff --git a/hotplug/hotplug-20040311/update-usb.usermap b/hotplug/hotplug-20040311/update-usb.usermap
deleted file mode 100644
index d09e1176ec..0000000000
--- a/hotplug/hotplug-20040311/update-usb.usermap
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh -e
-# update-usb.usermap
-# Copyright (c) 2001 Fumitoshi UKAI <ukai@debian.or.jp>
-# GPL
-
-LIBDIR=/usr/lib/hotplug
-USERMAP=/etc/hotplug/usb.usermap
-LOCALMAP=/etc/hotplug/usb.usermap.local
-
-test -d $LIBDIR || exit 0
-
-echo -n "Updating $USERMAP ..."
-
-echo "# usb.usermap file" > $USERMAP
-echo "# This is autogenerated by update-usb.usermap program" >> $USERMAP
-echo "# usb module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass bInterfaceProtocol driver_info" >> $USERMAP
-
-if [ -f $LOCALMAP ]; then
- echo "# usb.usermap.local" >> $USERMAP
- cat $LOCALMAP >> $USERMAP
-fi
-
-cd $LIBDIR
-for package in *
-do
- if [ -d "$package" ]; then
- map=$package/usb.usermap
- echo "# $package" >> $USERMAP
- if [ -x "$map" ]; then
- ./$map >> $USERMAP
- elif [ -f "$map" ]; then
- cat $map >> $USERMAP
- fi
- fi
-done
-
-echo done.