From 61afce26f88ffc9ee2537f16fb4f3eaa82658af7 Mon Sep 17 00:00:00 2001 From: Jeff Bailey Date: Thu, 1 Sep 2005 00:14:23 -0400 Subject: Add missing file --- hooks/udev | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 hooks/udev (limited to 'hooks/udev') diff --git a/hooks/udev b/hooks/udev new file mode 100644 index 0000000..41c96fe --- /dev/null +++ b/hooks/udev @@ -0,0 +1,27 @@ +#!/bin/sh + +PREREQ="" + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +# udev really wants to be able to do socket communications to udevd +# This means that there's a bit of a race condition as the events come +# flooding in and the kernels ability to autoload the 'unix' module. + +# We solve the problem thusly. Hopefully RIP Ubuntu# 12915 + +. /usr/share/initramfs-tools/hook-functions + +force_load unix + -- cgit v1.2.3