summaryrefslogtreecommitdiffstats
path: root/source/d/icecream/icecream.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/d/icecream/icecream.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/source/d/icecream/icecream.sh b/source/d/icecream/icecream.sh
index 5e0afd573..824a7afb9 100644
--- a/source/d/icecream/icecream.sh
+++ b/source/d/icecream/icecream.sh
@@ -1,10 +1,7 @@
#!/bin/sh
-# Only add the icecream directory to the PATH if we see that icecc-scheduler
-# and/or iceccd are running on this machine:
+# Only add the icecream directory to the PATH if we see that iceccd is
+# supposed to be running on this machine:
-if /usr/bin/pgrep --ns $$ -f "^/usr/sbin/icecc-scheduler" > /dev/null ; then
- export PATH=/usr/libexec/icecc/bin:$PATH
-elif /usr/bin/pgrep --ns $$ -f "^/usr/sbin/iceccd" > /dev/null ; then
+if [ -x /etc/rc.d/rc.iceccd ]; then
export PATH=/usr/libexec/icecc/bin:$PATH
fi
-