summaryrefslogtreecommitdiff
path: root/modules.d/95nfs
diff options
context:
space:
mode:
authorDave Young <dyoung@redhat.com>2012-04-19 12:01:43 +0800
committerHarald Hoyer <harald@redhat.com>2012-04-19 11:59:45 +0200
commit1bd76bf981d5cec3d5ba879102d84040aa5b902d (patch)
treedfa9629ad0edd9b482da9b2d0cf82fc99a07dd0c /modules.d/95nfs
parent2e7257a2e3bf91c11e8cc56f609b288403f9be14 (diff)
downloaddracut-1bd76bf981d5cec3d5ba879102d84040aa5b902d.tar.gz
dracut-1bd76bf981d5cec3d5ba879102d84040aa5b902d.tar.bz2
dracut-1bd76bf981d5cec3d5ba879102d84040aa5b902d.zip
move cleanup scripts to pre-pivot-cleanup hook
below cleanup scripts is moved: 40network: kill-dhclient.sh 90crypt: crypt-cleanup.sh 90multipath: multipathd-stop.sh 95iscsi: cleanup-iscsi.sh 95nfs: nfsroot-cleanup.sh Signed-off-by: Dave Young <dyoung@redhat.com>
Diffstat (limited to 'modules.d/95nfs')
-rwxr-xr-xmodules.d/95nfs/module-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/95nfs/module-setup.sh b/modules.d/95nfs/module-setup.sh
index 455f52f4..3587bdda 100755
--- a/modules.d/95nfs/module-setup.sh
+++ b/modules.d/95nfs/module-setup.sh
@@ -58,7 +58,7 @@ install() {
inst_hook cmdline 90 "$moddir/parse-nfsroot.sh"
inst_hook pre-udev 99 "$moddir/nfs-start-rpc.sh"
- inst_hook pre-pivot 99 "$moddir/nfsroot-cleanup.sh"
+ inst_hook pre-pivot-cleanup 99 "$moddir/nfsroot-cleanup.sh"
inst "$moddir/nfsroot.sh" "/sbin/nfsroot"
inst "$moddir/nfs-lib.sh" "/lib/nfs-lib.sh"
mkdir -m 0755 -p "$initdir/var/lib/nfs/rpc_pipefs"