summaryrefslogtreecommitdiffstats
path: root/client/shared/etc/init/default.sh
diff options
context:
space:
mode:
Diffstat (limited to 'client/shared/etc/init/default.sh')
-rwxr-xr-xclient/shared/etc/init/default.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/shared/etc/init/default.sh b/client/shared/etc/init/default.sh
index ed5527b9..fd88bb53 100755
--- a/client/shared/etc/init/default.sh
+++ b/client/shared/etc/init/default.sh
@@ -19,6 +19,9 @@ echo "${MSG_LAUNCHCLIENT:-.}"
[ -f /usr/local/etc/${LANG%_*}.qmap ] && export QWS_KEYBOARD="TTY:keymap=/usr/local/etc/${LANG%_*}.qmap"
if [ "$ogstatus" != "offline" ]; then
+ if ogFindCache &>/dev/null; then
+ /opt/opengnsys/bin/tiptorrent --root /opt/opengnsys/cache/opt/opengnsys/images -n 3 &
+ fi
GROUP_CONFIG=/opt/opengnsys/ogClient/cfg/${group/ /_}.json
PYMAJMIN=`python3 --version | cut -d" " -f2 | cut -d. -f1,2`
export PYTHONPATH=/opt/opengnsys/lib/python$PYMAJMIN