diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-02-18 04:37:37 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-02-18 04:37:37 +0000 |
commit | e75d1c12d5324face3bae1e84c67d5f0e3721ae6 (patch) | |
tree | 1de393dafaf56a428b17464c56ede019db6147e1 /x11/xfstt | |
parent | b5c468d2d3af69771073f71248f5536e2377dc42 (diff) | |
download | pkgsrc-e75d1c12d5324face3bae1e84c67d5f0e3721ae6.tar.gz |
rc.d script, from PR 12201
Diffstat (limited to 'x11/xfstt')
-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 |