#!/bin/sh # # AutoSta_LX Konfigurations Script # version: 0.8b # # Niels Rogalla # # # Main Configuration File # source /etc/alx_version source /opt/alx-config/version source /opt/alx-config/Configurator/config_functions.sh ### get current host system description ### (e.p. LFS, Gentoo, Debian, Magellan) SETUP="`echo $ALXVER|cut -d ' ' -f2`" ### System/Config Version VERSION="System: $ALXVER (Installer: $CFGVER)" TITLE="AutoSta_LX Setup Manager - ${VERSION}" ### old variables CONFFILE="/tmp/alx_config.cfg" LOGFILE="/tmp/alx_log.log" ### Menu Settings SETTINGS_TEMPLATE="/etc/alx-config/settings" ### source config files CONFIGS_TEMPLATE="/opt/alx-config/configs" XF86CONFIG="${CONFIGS_TEMPLATE}/XF86Config.${SETUP}.VNC" ### ica sessions #normal: SESSIONS_TEMPLATE="/etc/alx-config/ica-sessions" #cdrom/usbstick: #SESSIONS_TEMPLATE="/mnt/cdrom/ica-sessions" ### work dir fuer get_sessions WORK="/tmp" ### fluxbox configuration LOCAL_USER="station" LOCAL_GROUP="users" FLUXBOX_PATH="/home/${LOCAL_USER}/.fluxbox" ICACLIENT="/usr/lib/ICAClient/wfica" ### mysql configurtaion ### SQL_USER=alx_install SQL_PASS=@lx SQL_HOST=128.20.41.110 SQL_DB=alx_web ### global settings ### ALX_DEFAULT_HOSTNAME=alx-unconfed ALX_DEFAULT_DOMAIN=DOM_AKA_NT #Includes . /opt/alx-config/functions/findvga > /dev/null export ETHMOD="`/opt/alx-config/functions/findeth2.sh`" export ETH="`cat /proc/pci|grep Ether |cut -d ' ' -f7-30`"