if [ -e "/tmp/remountrw_on" ] ; then cat <<REMOUNTRW
--------------------------------------------------------------------------------
       WARNING !! RAMDISK IS SUSPENDEDED !!

/etc or /var is roumounted directly rw to flash! Please be carefull!
use configure ro to activate ramdisk function or reboot system.

--------------------------------------------------------------------------------
REMOUNTRW

fi
if [ -e "/tmp/cfg_on" ] ; then cat <<CONFIGWARNING
--------------------------------------------------------------------------------
        CONFIGURATION MODE IS ACTIVE

If you did not activate the configuration mode, do not interfere with any
settings.

--------------------------------------------------------------------------------
CONFIGWARNING
fi
reset_dir () 
{ 
    xxxx=`pwd`;
    cd /;
    cd $xxxx
}
modified () 
{ 
    [ -e "/tmp/cfg_on" ] 
}

PS1="\`{ reset_dir ;  modified ; } && echo -n '\[\e[1;33m[\]\\u@\\h \\W]\\\$\[\e[00m\]'||if [ -e '/tmp/remountrw_on' ];then echo -n '\[\e[1;34m\][\\u@\\h \\W]\\\$\[\e[00m\]';else echo -n '\[\e[00m\][\\u@\\h \\W]\\\$'; fi\` "

