From 80be73e8ddaae11b652727bbacd61fd7acbe5647 Mon Sep 17 00:00:00 2001 From: hubertf Date: Sun, 18 Feb 2001 04:37:37 +0000 Subject: rc.d script, from PR 12201 --- x11/xfstt/files/xfstt.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 x11/xfstt/files/xfstt.sh (limited to 'x11') diff --git a/x11/xfstt/files/xfstt.sh b/x11/xfstt/files/xfstt.sh new file mode 100644 index 00000000000..6bd4cebb12a --- /dev/null +++ b/x11/xfstt/files/xfstt.sh @@ -0,0 +1,19 @@ +#!/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) + kill `ps -auxwww | grep xfstt | awk '{ print $2 }'` + echo -n ' xfstt' + ;; +*) + echo "$0 start | stop" + ;; + +esac -- cgit v1.2.3