summaryrefslogtreecommitdiff
path: root/packages/maemo/gconf-osso/gconf-daemon-oe.sh
blob: a14954de6e3ea0f640f77147b0d19a192b1a957a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# GConf daemon startup/shutdown script

PROG=/usr/libexec/gconfd-2
SVC="GConf daemon"

case "$1" in
start)  START=TRUE
        ;;
stop)   START=FALSE
        ;;
*)      echo "Usage: $0 {start|stop}"
	exit 1
        ;;
esac

if [ $START = TRUE ]; then
  $LAUNCHWRAPPER start "$SVC" $PROG
else
  $LAUNCHWRAPPER stop"$SVC" $PROG
fi