PATH=$PATH:/sbin:/usr/sbin
-. /lib/dracut-lib
+. /lib/dracut-lib.sh
if getarg rdnetdebug ; then
exec >/tmp/dhclient.$interface.$$.out
PATH=$PATH:/sbin:/usr/sbin
-. /lib/dracut-lib
+. /lib/dracut-lib.sh
if getarg rdnetdebug ; then
exec >/tmp/ifup.$1.$$.out
PATH=$PATH:/sbin:/usr/sbin
-. /lib/dracut-lib
+. /lib/dracut-lib.sh
if getarg rdnetdebug ; then
exec >/tmp/netroot.$1.$$.out
# iscsistart needs this.
#
-. /lib/dracut-lib
+. /lib/dracut-lib.sh
PATH=$PATH:/sbin:/usr/sbin
#!/bin/sh
-. /lib/dracut-lib
+. /lib/dracut-lib.sh
PATH=$PATH:/sbin:/usr/sbin
fi
}
-. /lib/dracut-lib
+. /lib/dracut-lib.sh
PATH=$PATH:/sbin:/usr/sbin
-#!/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;
trap "emergency_shell" 0
-. /lib/dracut-lib
+. /lib/dracut-lib.sh
mknod /dev/null c 1 3
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"