]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Handle locations where we'll be installing files
authorJeremy Katz <katzj@redhat.com>
Thu, 18 Dec 2008 20:55:28 +0000 (15:55 -0500)
committerJeremy Katz <katzj@redhat.com>
Thu, 18 Dec 2008 20:55:28 +0000 (15:55 -0500)
Handle that files will be in different places once installed

dracut
dracut-functions [moved from initrd-functions with 100% similarity]

diff --git a/dracut b/dracut
index 516c0caf6366a43b9e209ed3dbc75b356548bebf..9a439ca830d82c40551d0eeb58a4a0d07a097d33 100755 (executable)
--- a/dracut
+++ b/dracut
@@ -7,10 +7,10 @@
 # Copyright 2008, Red Hat, Inc.  Jeremy Katz <katzj@redhat.com>
 # GPLv2 header here
 
-if [ -f ./initrd-functions ]; then
-    source ./initrd-functions
+if [ -f ./dracut-functions ]; then
+    source ./dracut-functions
 else
-    source /usr/libexec/initrd-functions
+    source /usr/libexec/dracut/functions
 fi
 
 [ -f /etc/dracut.conf ] && . /etc/dracut.conf
similarity index 100%
rename from initrd-functions
rename to dracut-functions