diff options
author | maximilian attems <maks@debian.org> | 2006-03-14 10:43:28 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2006-03-14 10:43:28 +0100 |
commit | 9c42241824afb2759d22d2cf7962fb2ce534e0dd (patch) | |
tree | 2e5996092c6479b607c870081c37ae7e8d20181c /scripts | |
parent | c4a1c8838be207397a4c676db729ed9de416bbba (diff) | |
download | initramfs-tools-9c42241824afb2759d22d2cf7962fb2ce534e0dd.tar.gz initramfs-tools-9c42241824afb2759d22d2cf7962fb2ce534e0dd.zip |
udev stuff needs to be in scripts/init-premount
only do the block device hacks on local boot
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/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 |