blob: 44dfde9c4170d6110258595cb6c967769265cc99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/gnustep-base/files/gnustep,v 1.3 2004/07/14 22:11:19 agriffis Exp $
start() {
ebegin "Starting GNUstep services"
# Check for necessary files
if [ -d /usr/GNUstep/System/Makefiles ]; then
GNUSTEP_MAKEFILES="/usr/GNUstep/System/Makefiles"
else
exit 1
fi
# Source GNUstep makefile
if [ -x $GNUSTEP_MAKEFILES/GNUstep.sh ]; then
. $GNUSTEP_MAKEFILES/GNUstep.sh
else
exit 1
fi
# Start services
if [ -x $GNUSTEP_SYSTEM_ROOT/Tools/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/gdomap ]; then
$GNUSTEP_SYSTEM_ROOT/Tools/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/gdomap
fi
if [ -x $GNUSTEP_SYSTEM_ROOT/Tools/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO/gdnc ]; then
$GNUSTEP_SYSTEM_ROOT/Tools/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO/gdnc
fi
}
stop() {
ebegin "Stopping GNUstep services"
# Kill processes
killall gdomap
killall gdnc
}
|