summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-17 00:57:59 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-17 00:57:59 +0000
commit4ab4a9c64f02cf5e2915ba12833cba9cf76788c1 (patch)
treee03f3654fa01f9315641a406e60d6f46b4998550
parenta312b5c01b99c4ffb499616046df1b370d0652af (diff)
set DYNFS correctly (bug #3323)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/v1-0@561 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xMakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 04e31ca..2412253 100755
--- a/Makefile
+++ b/Makefile
@@ -43,11 +43,11 @@ MODCONF=$(shell if [ -d $(ROOT_PREFIX)/etc/modprobe.d ]; then echo "$(ROOT_PREFI
ifeq (${BUILDVER},linux24)
#We only support DEVFS in linux 2.4 kernels, since its considered obsolete post 2.4
-DYNFS=$(shell ps ax | grep -v grep | grep devfsd)
+DYNFS=$(shell ps ax | grep -v grep | grep -q devfsd && echo "yes")
endif
ifeq (${BUILDVER},linux26)
#Tests for newer linux-2.6 udev support
-DYNFS=$(shell ps ax | grep -v grep | grep udevd)
+DYNFS=$(shell ps ax | grep -v grep | grep udevd && echo "yes")
endif