1 |
#!/bin/sh |
# $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/conf/config.rc,v 1.2 2005-03-08 20:42:09 niro Exp $ |
2 |
# |
# |
3 |
# AutoSta_LX Konfigurations Script |
# AutoSta_LX Konfigurations Script |
4 |
# version: 0.8b |
# version: 0.8b |
9 |
# Main Configuration File |
# Main Configuration File |
10 |
# |
# |
11 |
|
|
12 |
source /etc/alx_version |
### mysql configuration ### |
13 |
source /opt/alx-config/version |
SQL_USER=username |
14 |
source /opt/alx-config/Configurator/config_functions.sh |
SQL_PASS=password |
15 |
|
SQL_HOST=192.168.0.100 |
|
### 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 |
|
16 |
SQL_DB=alx_web |
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`" |
|