projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
872dcb0
)
Added fix for bug #103717.
author
Chris Gianelloni
<wolf31o2@gentoo.org>
Fri, 28 Oct 2005 18:44:39 +0000
(18:44 +0000)
committer
Chris Gianelloni
<wolf31o2@gentoo.org>
Fri, 28 Oct 2005 18:44:39 +0000
(18:44 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@316
67a159dc
-881f-0410-a524-
ba9dfbe2cb84
gen_funcs.sh
patch
|
blob
|
history
diff --git
a/gen_funcs.sh
b/gen_funcs.sh
index 3e0aa5e3ee4419de3111ac09ce67e1b866bef484..79773399eaec5b946dbf246c5e0f55d860dcbc99 100755
(executable)
--- a/
gen_funcs.sh
+++ b/
gen_funcs.sh
@@
-234,7
+234,12
@@
gen_die() {
}
has_loop() {
- dmesg | egrep -q '^loop:'
+ if [ -e /var/log/dmesg ]
+ then
+ cat /var/log/dmesg | egrep -q '^loop:'
+ else
+ dmesg | egrep -q '^loop:'
+ fi
if [ -e '/dev/loop0' -o -e '/dev/loop/0' -a ${PIPESTATUS[1]} ]
then
# We found devfs or standard dev loop device, assume