aboutsummaryrefslogtreecommitdiff
path: root/lang/rexx-regina/files/rxstack.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lang/rexx-regina/files/rxstack.sh')
-rw-r--r--lang/rexx-regina/files/rxstack.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/rexx-regina/files/rxstack.sh b/lang/rexx-regina/files/rxstack.sh
new file mode 100644
index 000000000000..4be1f23a7ffb
--- /dev/null
+++ b/lang/rexx-regina/files/rxstack.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+case "$1" in
+start)
+ [ -x /usr/local/bin/rxstack ] && /usr/local/bin/rxstack -d && \
+ echo -n "Starting Regina Stack"
+ ;;
+stop)
+ killall rxstack && echo -n "Shutting down Regina Stack"
+ ;;
+esac