freebsd-ports/x11-servers/Xfstt/files/xfstt.sh
Ade Lovett 0de2b40220 A whole bunch of updates from the new maintainer:
* install startup file
  * create TrueType directory
  * add new --notcp option (from ports/21957) and document it

See PR for complete details

PR:		22946
Submitted by:	maintainer
2000-11-18 23:45:17 +00:00

19 lines
269 B
Bash

#!/bin/sh
PREFIX=%%PREFIX%%
case "$1" in
start)
${PREFIX}/bin/xfstt --sync >/dev/null
${PREFIX}/bin/xfstt --user nobody --notcp --daemon && echo -n ' xfstt'
;;
stop)
/usr/bin/killall xfstt 2>/dev/null && echo -n ' xfstt'
;;
*)
echo "$0 start | stop"
;;
esac