summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/distcc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/distcc')
-rwxr-xr-xmeta/recipes-devtools/distcc/files/distcc10
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-devtools/distcc/files/distcc b/meta/recipes-devtools/distcc/files/distcc
index 513bc483ea..c7c414d829 100755
--- a/meta/recipes-devtools/distcc/files/distcc
+++ b/meta/recipes-devtools/distcc/files/distcc
@@ -35,6 +35,9 @@ test -x $DAEMON || exit 0
35 35
36set -e 36set -e
37 37
38# Source function library.
39. /etc/init.d/functions
40
38# construct access list 41# construct access list
39ALLOW="" 42ALLOW=""
40for net in $ALLOWEDNETS 43for net in $ALLOWEDNETS
@@ -94,9 +97,14 @@ case "$1" in
94 } 97 }
95 echo "." 98 echo "."
96 ;; 99 ;;
100
101 status)
102 status $DAEMON
103 exit $?
104 ;;
97 *) 105 *)
98 N=/etc/init.d/$NAME 106 N=/etc/init.d/$NAME
99 echo "Usage: $N {start|stop|restart|force-reload}" >&2 107 echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
100 exit 1 108 exit 1
101 ;; 109 ;;
102esac 110esac