dracut-functions.sh: inst_hook() with [0-9]-<name>
authorHarald Hoyer <harald@redhat.com>
Mon, 30 Jul 2012 15:00:27 +0000 (17:00 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 30 Jul 2012 15:08:51 +0000 (17:08 +0200)
dracut-functions.sh

index 04b4c7a..a299bbb 100755 (executable)
@@ -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