[readonly/geninitrd/BUSYBOX: 25/113] - check for and read /etc/sysconfig/geninitrd (not /etc/sysconfig/initrd).

draenog draenog at pld-linux.org
Sat Nov 2 19:12:08 CET 2013


commit aad4b4abe6d4b33b869920929c9b7a968bf93003
Author: kloczek <kloczek at pld-linux.org>
Date:   Tue Jan 30 17:44:08 2001 +0000

    - check for and read /etc/sysconfig/geninitrd (not /etc/sysconfig/initrd).
    
    
    svn-id: @1177

 geninitrd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 14c427f..e061063 100755
--- a/geninitrd
+++ b/geninitrd
@@ -28,8 +28,8 @@ PROBEIDE="yes"
 PROBERAID="yes"
 USEBSP="yes"
 
-if [ -f /etc/sysconfig/initrd ] ; then
-	. /etc/sysconfig/initrd
+if [ -f /etc/sysconfig/geninitrd ] ; then
+	. /etc/sysconfig/geninitrd
 fi
 
 if is_yes $USEBSP ; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/0999a53e93eedcf489380684b998ce04aaddf11c



More information about the pld-cvs-commit mailing list