From: Harald Hoyer Date: Mon, 30 Jul 2012 15:00:27 +0000 (+0200) Subject: dracut-functions.sh: inst_hook() with [0-9]- X-Git-Tag: 023~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a84ac3fe36e706c88f7231fe3e4e1d2b11359e3;p=thirdparty%2Fdracut.git dracut-functions.sh: inst_hook() with [0-9]- --- diff --git a/dracut-functions.sh b/dracut-functions.sh index 04b4c7a34..a299bbb6f 100755 --- a/dracut-functions.sh +++ b/dracut-functions.sh @@ -837,7 +837,7 @@ inst_hook() { dfatal "No such hook type $1. Aborting initrd creation." exit 1 fi - inst_simple "$3" "/lib/dracut/hooks/${1}/${2}${3##*/}" + inst_simple "$3" "/lib/dracut/hooks/${1}/${2}-${3##*/}" } # install any of listed files