summaryrefslogtreecommitdiff
path: root/hooks/udevhelper
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-09-09 17:12:53 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-09-09 17:12:53 -0700
commit573e21e410934f2293d5ac4c738af5f77083b43b (patch)
tree006a2586447b7f2e9353556f74633db605436777 /hooks/udevhelper
parent0de1ad17c333d645774ac3b48d652ccd4ecd6900 (diff)
parent7a6f9e972def00f7f0435d9f2616bcb79dc619b7 (diff)
downloadinitramfs-tools-573e21e410934f2293d5ac4c738af5f77083b43b.tar.gz
initramfs-tools-573e21e410934f2293d5ac4c738af5f77083b43b.zip
Merge branch 'upstream' (0.98.2) into mendocino
Conflicts: debian/changelog debian/compat debian/control debian/rules hook-functions mkinitramfs
Diffstat (limited to 'hooks/udevhelper')
-rwxr-xr-xhooks/udevhelper36
1 files changed, 0 insertions, 36 deletions
diff --git a/hooks/udevhelper b/hooks/udevhelper
deleted file mode 100755
index f86e4af..0000000
--- a/hooks/udevhelper
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-# FIXME: kill after lenny release
-# needed for UUID root and partial etch upgrades
-#
-PREREQ="udev"
-
-prereqs()
-{
- echo "$PREREQ"
-}
-
-case $1 in
-# get pre-requisites
-prereqs)
- prereqs
- exit 0
- ;;
-esac
-
-. /usr/share/initramfs-tools/hook-functions
-
-# should never happen
-if [ ! -e $DESTDIR/lib/udev/ ]; then
- exit 0
-fi
-
-# fixed udev hook
-if [ -e $DESTDIR/lib/udev/ ] && [ -e $DESTDIR/lib/udev/hotplug.functions ]; then
- exit 0
-fi
-
-cp /lib/udev/hotplug.functions $DESTDIR/lib/udev/
-for program in /lib/udev/*_id; do
- copy_exec $program /lib/udev/
-done
-exit 0