diff options
-rwxr-xr-x | client/shared/etc/init/default.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/shared/etc/init/default.sh b/client/shared/etc/init/default.sh index e062a306..9022c374 100755 --- a/client/shared/etc/init/default.sh +++ b/client/shared/etc/init/default.sh @@ -19,7 +19,12 @@ echo "${MSG_LAUNCHCLIENT:-.}" [ -f /usr/local/etc/${LANG%_*}.qmap ] && export QWS_KEYBOARD="TTY:keymap=/usr/local/etc/${LANG%_*}.qmap" if [ "$ogstatus" != "offline" ]; then - /opt/opengnsys/ogClient/./ogclient + GROUP_CONFIG=/opt/opengnsys/ogClient/cfg/${group/ /_}.json + if [ -f $GROUP_CONFIG ]; then + /opt/opengnsys/ogClient/./ogclient -c $GROUP_CONFIG + else + /opt/opengnsys/ogClient/./ogclient + fi else for FILE in index $OGGROUP $(ogGetIpAddress) do |