summaryrefslogtreecommitdiff
path: root/modules.d/95nfs
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2011-03-25 13:31:34 +0100
committerHarald Hoyer <harald@redhat.com>2011-03-25 16:10:46 +0100
commit0b53ca70b6bafbbed2c484208faba3100c448746 (patch)
treed8e5c8503c82b2288afd486115eaac972dfb0556 /modules.d/95nfs
parentc9f1e3d1f47c9749494a108ecedfa5b4fc6f7d41 (diff)
downloaddracut-0b53ca70b6bafbbed2c484208faba3100c448746.tar.gz
dracut-0b53ca70b6bafbbed2c484208faba3100c448746.tar.bz2
dracut-0b53ca70b6bafbbed2c484208faba3100c448746.zip
Move all hooks to "$hookdir"
hookdir=/lib/dracut/hooks for now, to keep the root directory clean
Diffstat (limited to 'modules.d/95nfs')
-rwxr-xr-xmodules.d/95nfs/nfsroot4
-rwxr-xr-xmodules.d/95nfs/parse-nfsroot.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules.d/95nfs/nfsroot b/modules.d/95nfs/nfsroot
index b5d62e4b..486c0e1a 100755
--- a/modules.d/95nfs/nfsroot
+++ b/modules.d/95nfs/nfsroot
@@ -114,8 +114,8 @@ else
fi
# inject new exit_if_exists
-echo 'settle_exit_if_exists="--exit-if-exists=/dev/root"; rm "$job"' > /initqueue/nfs.sh
+echo 'settle_exit_if_exists="--exit-if-exists=/dev/root"; rm "$job"' > $hookdir/initqueue/nfs.sh
# force udevsettle to break
-> /initqueue/work
+> $hookdir/initqueue/work
diff --git a/modules.d/95nfs/parse-nfsroot.sh b/modules.d/95nfs/parse-nfsroot.sh
index 4d8cbdaa..35b095d4 100755
--- a/modules.d/95nfs/parse-nfsroot.sh
+++ b/modules.d/95nfs/parse-nfsroot.sh
@@ -110,4 +110,4 @@ rootok=1
# confused by having /dev/nfs[4]
root="$fstype"
-echo '[ -e $NEWROOT/proc ]' > /initqueue-finished/nfsroot.sh
+echo '[ -e $NEWROOT/proc ]' > $hookdir/initqueue/finished/nfsroot.sh