summarylogtreecommitdiffstats
path: root/gcstatistic
diff options
context:
space:
mode:
Diffstat (limited to 'gcstatistic')
-rw-r--r--gcstatistic12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcstatistic b/gcstatistic
new file mode 100644
index 000000000000..b647c1744060
--- /dev/null
+++ b/gcstatistic
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# we need a writeable directory with exec mount option
+cd /tmp
+
+# we want the config file in home directory, so we link it
+if [ ! -e ${HOME}/.GCStatistic.conf ]; then
+ ln -sf ${HOME}/.GCStatistic.conf
+fi
+
+# just execute
+exec /opt/gcstatistic/GCStatistic