summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/init-premount/udev_helper (renamed from scripts/local-top/udev_helper)11
1 files changed, 10 insertions, 1 deletions
diff --git a/scripts/local-top/udev_helper b/scripts/init-premount/udev_helper
index 8abcb2b..f2bc204 100755
--- a/scripts/local-top/udev_helper
+++ b/scripts/init-premount/udev_helper
@@ -1,6 +1,6 @@
#!/bin/sh
-PREREQ=""
+PREREQ="udev"
prereqs()
{
@@ -15,6 +15,15 @@ prereqs)
;;
esac
+# Nothing todo for nfs boot
+case "${BOOT}" in
+local)
+ ;;
+*)
+ exit 0
+ ;;
+esac
+
# Our job now is to make the block device for the root filesystem available.
# This is actually a bit trickier than it first appears because we first need
# to figure out which driver needs it, and to do that, we need to know what