[readonly/geninitrd/BUSYBOX: 22/113] fix: bsp use if /sbin/bsp not installed
draenog
draenog at pld-linux.org
Sat Nov 2 19:11:53 CET 2013
commit b90c5d54ff476c6b2d5af6cfa302eb9027bf2c83
Author: inglod <inglod at pld-linux.org>
Date: Tue Jan 9 13:01:38 2001 +0000
fix: bsp use if /sbin/bsp not installed
svn-id: @1174
geninitrd | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/geninitrd b/geninitrd
index bd8d75e..1fcdb79 100755
--- a/geninitrd
+++ b/geninitrd
@@ -32,6 +32,9 @@ if [ -f /etc/sysconfig/initrd ] ; then
. /etc/sysconfig/initrd
fi
+if is_yes $USEBSP ; then
+ [ ! -x /sbin/bsp ] && USEBSP="no"
+fi
target=""
kernel=""
force=""
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/0999a53e93eedcf489380684b998ce04aaddf11c
More information about the pld-cvs-commit
mailing list