0de2b40220
* 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
19 lines
269 B
Bash
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
|