summarylogtreecommitdiffstats
path: root/theme-hospital-gog.sh
diff options
context:
space:
mode:
authorCarsten Teibes2014-06-19 05:07:12 +0200
committerCarsten Teibes2014-06-19 05:07:12 +0200
commit23fbfb25207e71508c02ffd5252a865481e4a071 (patch)
treef3446b0c26fbbc8683dc5566f810edd710fb665b /theme-hospital-gog.sh
downloadaur-23fbfb25207e71508c02ffd5252a865481e4a071.tar.gz
[add] theme-hospital-gog 2.0.0.5
Diffstat (limited to 'theme-hospital-gog.sh')
-rw-r--r--theme-hospital-gog.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/theme-hospital-gog.sh b/theme-hospital-gog.sh
new file mode 100644
index 000000000000..7234b4fc8869
--- /dev/null
+++ b/theme-hospital-gog.sh
@@ -0,0 +1,29 @@
+#!/bin/bash
+#
+# simple launcher by carstene1ns 2014
+#
+
+# get script name
+script=${0##*/}
+
+# get game mode
+mode=${script#theme-hospital-}
+
+case "$mode" in
+ client)
+ EXTRACONF=dosboxth_client.conf
+ ;;
+ server)
+ EXTRACONF=dosboxth_server.conf
+ ;;
+ settings)
+ EXTRACONF=dosboxth_settings.conf
+ ;;
+ *)
+ EXTRACONF=dosboxth_single.conf
+esac
+
+# launch
+cd /opt/theme-hospital && exec dosbox -conf dosboxth.conf -conf $EXTRACONF
+
+# eof