Hi,
I am using freesbie scripts and something don't work.
all tests has been made on cvs (Mar 23 2005)
*) I have two directory of freesbie:
/freesbie.A
/freesbie.B
in every directory config.sh is missing.
starting ./freesbie from freesbie.A and setting freesbie.B as $LOCALDIR,
config.sh will be created in /freesbie.B and at line 20 of dialog_main.sh
I have got an error
Can't open ./config.sh: No such file or directory
(call config.sh from $LOCALDIR it's ok)
*) so, the working directory is freesbie.A and $LOCALDIR is freesbie.B
we work with dialog_scripts called from directory A and others scripts called
from directory B. It's correct ?
*) now, others questions
if I work in a directory (ie. A) I won't expect to modify configuration file
of other directory (ie. B)...
this because when I come back to work in A some other variables could be
changed...
what is the purpose in changing $LOCALDIR ?
*) now starting again (rm config.sh), choosing only the first choice
(LiveFS) from configuration menu, then Exit.
The script create config.sh in / this because $LOCALDIR
is not set
in dialog_config.sh change
if [ $FREESBIEBASEDIR -a $LOCALDIR -a $PATHISO ]; then
with
if [ "$FREESBIEBASEDIR" -a "$LOCALDIR" -a "$PATHISO" ]; then
*) dialog_config.sh don't change config.sh because in CONFIGMENU
we "reload" every time the old config.sh
move this line
if [ -f ./config.sh ]; then . ./config.sh; fi
from CONFIGMENU() to before calling CONFIGMENU.
marta
__________________________________________________________________
Tiscali Adsl 3 Mega Flat con 3 MESI GRATIS!
Con Tiscali Adsl 3 Mega Flat navighi con la Supervelocita'
a soli 29.95 euro al mese, senza limiti di tempo. E se attivi
entro il 31 Marzo, 3 MESI sono GRATIS!
Scopri come su http://abbonati.tiscali.it/adsl/sa/2flat_tc/
--
FreeSBIE mailing list (http://www.freesbie.org)