From d37c7725c8feb565380053418d191af1cf9e4f58 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 19 Jun 2007 18:06:48 +0000 Subject: [PATCH] * improved tardiba.conf to just enable the APC UPS module if the target while boot from HD (this module makes no sense i.e. for vservers) git-svn-id: svn+ssh://svn.opensde.net/home/users/karasz/x5/tardiba/trunk@72 471cc25b-571d-0410-8e29-1f4f9b506cef --- pkgsel/tardiba.conf | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgsel/tardiba.conf b/pkgsel/tardiba.conf index 7d0185a..ef09821 100644 --- a/pkgsel/tardiba.conf +++ b/pkgsel/tardiba.conf @@ -14,14 +14,17 @@ # options always used on all tardiba systems # -for x in KERNEL='linux' LIBC=glibc LVM=1 PAM=1 SSP=1 \ + +TARDIBA_OPTION="KERNEL=linux LIBC=glibc LVM=1 PAM=1 SSP=1 \ SECURITY=none \ POSTGRES=1 MONITORING=minimal \ - APCUPS=1 \ DEVTOOLS=0 DEVELOPMENT=0 \ - DOC=usual \ - ; do + DOC=minimal" + +[ "$SDECFG_TRG_MNEMOSYNE_BOOT" = 'vserver' ] && \ + var_append TARDIBA_OPTION ' ' "APCUPS=0" +for x in $TARDIBA_OPTION ; do eval SDECFGSET_TRG_MNEMOSYNE_$x const SDECFG_TRG_MNEMOSYNE_${x/=/ } done