summaryrefslogtreecommitdiff
path: root/dracut.sh
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-08-12 12:46:03 +0200
committerHarald Hoyer <harald@redhat.com>2013-08-12 12:46:03 +0200
commitdadd2b698ef7d0c069dce58ccad5543337b007c9 (patch)
treef2ba52400ca3013b3e75e385418a0f60b8d2be72 /dracut.sh
parent3e70a25bcf2fb49fbc81d110d3186bddf4f81ad0 (diff)
downloaddracut-dadd2b698ef7d0c069dce58ccad5543337b007c9.tar.gz
dracut-dadd2b698ef7d0c069dce58ccad5543337b007c9.tar.bz2
dracut-dadd2b698ef7d0c069dce58ccad5543337b007c9.zip
dracut.sh: use local lsinitrd.sh for "-l"
Diffstat (limited to 'dracut.sh')
-rwxr-xr-xdracut.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/dracut.sh b/dracut.sh
index 0b674ae2..6208c82a 100755
--- a/dracut.sh
+++ b/dracut.sh
@@ -1271,7 +1271,11 @@ mv -- "$outfile.$$" "$outfile"
dinfo "*** Creating image file done ***"
if (( maxloglvl >= 5 )); then
- lsinitrd "$outfile"| ddebug
+ if [[ $allowlocal ]]; then
+ "$dracutbasedir/lsinitrd.sh" "$outfile"| ddebug
+ else
+ lsinitrd "$outfile"| ddebug
+ fi
fi
exit 0