]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
renamed dracut-lib to dracut-lib.sh
authorHarald Hoyer <harald@redhat.com>
Fri, 19 Jun 2009 10:17:40 +0000 (12:17 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 19 Jun 2009 11:00:09 +0000 (13:00 +0200)
modules.d/40network/dhclient-script
modules.d/40network/ifup
modules.d/40network/netroot
modules.d/95iscsi/iscsiroot
modules.d/95nbd/nbdroot
modules.d/95nfs/nfsroot
modules.d/99base/dracut-lib.sh [moved from modules.d/99base/dracut-lib with 91% similarity]
modules.d/99base/init
modules.d/99base/install

index f6628281fc39eb924883a17ac987ee69a198b672..5b36a40dc0cb11c3f666882ce7ee1e3e42f68608 100755 (executable)
@@ -35,7 +35,7 @@ setup_interface() {
 
 PATH=$PATH:/sbin:/usr/sbin
 
-. /lib/dracut-lib
+. /lib/dracut-lib.sh
 
 if getarg rdnetdebug ; then
     exec >/tmp/dhclient.$interface.$$.out
index 332fc21379572d464f8472a7806875f04a596bea..89017bb3fedb61d36f3c8d1b0b8583e99aeb7093 100755 (executable)
@@ -46,7 +46,7 @@ do_static() {
 
 PATH=$PATH:/sbin:/usr/sbin
 
-. /lib/dracut-lib
+. /lib/dracut-lib.sh
 
 if getarg rdnetdebug ; then
     exec >/tmp/ifup.$1.$$.out
index 099c9a98e342c5d691030d190c1d8cb8df5738af..f719d93bc812cbf6e1b44241a431c16c68368c19 100755 (executable)
@@ -2,7 +2,7 @@
 
 PATH=$PATH:/sbin:/usr/sbin
 
-. /lib/dracut-lib
+. /lib/dracut-lib.sh
 
 if getarg rdnetdebug ; then
     exec >/tmp/netroot.$1.$$.out
index 783306bf20bca3d5fffe49352793d6187e6650d0..c66f9d2b6cf2b900a93a6428b93da817fbd3da93 100755 (executable)
@@ -6,7 +6,7 @@
 # iscsistart needs this.
 #
 
-. /lib/dracut-lib
+. /lib/dracut-lib.sh
 
 PATH=$PATH:/sbin:/usr/sbin
 
index 71f6af94985a8ae307961b87af6c41ed79549f77..90f6ef8c94b697d9d8d1670e2729c06832a1e777 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. /lib/dracut-lib
+. /lib/dracut-lib.sh
 
 PATH=$PATH:/sbin:/usr/sbin
 
index 46c2b42be808eec8772cae4ac4bca6469e030c86..6012598f696392feab3c6648a173143ba1ddeaee 100755 (executable)
@@ -38,7 +38,7 @@ root_to_var() {
     fi
 }
 
-. /lib/dracut-lib
+. /lib/dracut-lib.sh
 
 PATH=$PATH:/sbin:/usr/sbin
 
similarity index 91%
rename from modules.d/99base/dracut-lib
rename to modules.d/99base/dracut-lib.sh
index 00c21bd40a7ea9f45528ff016947592379a89ef9..96ecbb049baeae4d3c2bb5d31017b756ac84f041 100644 (file)
@@ -1,10 +1,3 @@
-#!/bin/sh
-#
-# Licensed under the GPLv2
-#
-# Copyright 2008, Red Hat, Inc.
-# Jeremy Katz <katzj@redhat.com>
-
 getarg() {
     local o line
     [ "$CMDLINE" ] || read CMDLINE </proc/cmdline;
index 5ce28a0b39da7d382003ee971e943b3f7df4e72e..113b130eec0851a1542027500ea3e403a6741e87 100755 (executable)
@@ -20,7 +20,7 @@ NEWROOT="/sysroot"
 
 trap "emergency_shell" 0
 
-. /lib/dracut-lib
+. /lib/dracut-lib.sh
 
 mknod /dev/null c 1 3
 
index 4bf5301ec4bf34ee1eb383b97dd6b060c21e3376..01ad771eeca8fff8a28fac44392ddf4d72ced93b 100755 (executable)
@@ -12,7 +12,7 @@ if which switch_root >/dev/null 2>&1; then
 else
     inst "$moddir/switch_root" "/sbin/switch_root"
 fi
-inst "$moddir/dracut-lib" "/lib/dracut-lib"
+inst "$moddir/dracut-lib.sh" "/lib/dracut-lib.sh"
 inst_hook cmdline 10 "$moddir/parse-root-opts.sh"
 inst_hook cmdline 20 "$moddir/parse-blacklist.sh"
 inst_hook pre-pivot 50 "$moddir/selinux-loadpolicy.sh"