The network root handler will need this.
Signed-off-by: David Dillow <[email protected]>
---
modules.d/99base/dracut-lib | 6 ++++++
modules.d/99base/init | 6 ------
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/modules.d/99base/dracut-lib b/modules.d/99base/dracut-lib
index 1f31933..7078827 100644
--- a/modules.d/99base/dracut-lib
+++ b/modules.d/99base/dracut-lib
@@ -14,3 +14,9 @@ getarg() {
done
return 1
}
+
+source_all() {
+ local f
+ [ "$1" ] && [ -d "/$1" ] || return
+ for f in "/$1"/*.sh; do [ -f "$f" ] && . "$f"; done
+}
diff --git a/modules.d/99base/init b/modules.d/99base/init
index ebbc6ad..73e96fd 100755
--- a/modules.d/99base/init
+++ b/modules.d/99base/init
@@ -14,12 +14,6 @@ emergency_shell()
sh -i
}
-source_all() {
- local f
- [ "$1" ] && [ -d "/$1" ] || return
- for f in "/$1"/*.sh; do [ -f "$f" ] && . "$f"; done
-}
-
export PATH=/sbin:/bin:/usr/sbin:/usr/bin
export TERM=linux
NEWROOT="/sysroot"
--
1.6.0.6
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html