;;
# Run, blocking until the process ends
run)
- exec sleep 10
+ if [ -x /usr/bin/frameworkd ]
+ then
+ # Start frameworkd for GSM services only
+ exec /usr/bin/frameworkd -s ogsmd > /tmp/zavai-frameworkd.log 2>&1
+ else
+ # For testing
+ exec sleep 10
+ fi
;;
*)
echo "Usage: $0 {run|status}." >&2