diff options
author | hubertf <hubertf> | 2001-02-18 04:37:37 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-02-18 04:37:37 +0000 |
commit | 80be73e8ddaae11b652727bbacd61fd7acbe5647 (patch) | |
tree | 1de393dafaf56a428b17464c56ede019db6147e1 /x11 | |
parent | 0092f01e4ccdc01bf6a4b1290f55cad61866d6b8 (diff) | |
download | pkgsrc-80be73e8ddaae11b652727bbacd61fd7acbe5647.tar.gz |
rc.d script, from PR 12201
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xfstt/files/xfstt.sh | 19 |
1 files changed, 19 insertions, 0 deletions
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 |