summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2003-04-13 19:11:46 +0000
committerMichael Imhof <tantive@gentoo.org>2003-04-13 19:11:46 +0000
commit8c315e2071c8ee1978a2975f4cb5b6db4482ba92 (patch)
treea70c4a9dc0036648a9ed6b6fab1c001649fb9b85 /sys-cluster/openmosix-user
parentnew package (diff)
downloadhistorical-8c315e2071c8ee1978a2975f4cb5b6db4482ba92.tar.gz
historical-8c315e2071c8ee1978a2975f4cb5b6db4482ba92.tar.bz2
historical-8c315e2071c8ee1978a2975f4cb5b6db4482ba92.zip
Changed init-script to support the new location of the tools.
Diffstat (limited to 'sys-cluster/openmosix-user')
-rw-r--r--sys-cluster/openmosix-user/files/openmosix.init6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-cluster/openmosix-user/files/openmosix.init b/sys-cluster/openmosix-user/files/openmosix.init
index 0273c9a789fd..b86de169a387 100644
--- a/sys-cluster/openmosix-user/files/openmosix.init
+++ b/sys-cluster/openmosix-user/files/openmosix.init
@@ -2,7 +2,7 @@
#
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-user/files/openmosix.init,v 1.3 2003/03/28 21:30:17 tantive Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-user/files/openmosix.init,v 1.4 2003/04/13 19:11:46 tantive Exp $
depend() {
need net
@@ -56,9 +56,9 @@ fi
# Make sure we have omdiscd installed
if [ $AUTODISC -eq 1 ]; then
- if [ ! -x /usr/sbin/omdiscd ]; then
+ if [ ! -x `which omdiscd` ]; then
eerror "openMosix: omdiscd not installed, exiting"
- exit
+ eend
fi
fi