- echo ""
- echo -e "ONE OR MORE EMAIL ADDRESS(ES) TO WHICH THE REPORTS WILL BE SENT"
- echo -e "(seperated by comma)"
- read IPFIRE_MAIL_REPORT
- echo -n "EMAIL FROM: "
- read IPFIRE_MAIL_FROM
- echo -n "EMAIL SERVER: "
- read IPFIRE_MAIL_SERVER
- echo -n "LOGIN TO MAIL SERVER: "
- read IPFIRE_MAIL_USER
- echo -n "MAIL PASSWORD: "
- read -s IPFIRE_MAIL_PASS
- echo -n "Saving..."
- cat <<END > .config
-### ISO server
-IPFIRE_FTP_URL_EXT=$IPFIRE_FTP_URL_EXT
-IPFIRE_FTP_PATH_EXT=$IPFIRE_FTP_PATH_EXT
-IPFIRE_FTP_USER_EXT=$IPFIRE_FTP_USER_EXT
-IPFIRE_FTP_PASS_EXT=$IPFIRE_FTP_PASS_EXT
+
+ clear
+ echo -ne "***When you add some new software you can easyly\n"
+ echo -ne "***upload the source code to our repository server.\n"
+ echo -ne "***If the url is empty there will be no upload.\n"
+ echo -ne "Actually there is: $FTP_CACHE_URL\n"
+ echo -ne "Do you want to change this? (y/N) "
+ read YESNO
+ if [ "$YESNO" == "y" ]; then
+ echo -ne "Please type the url: "
+ read FTP_CACHE_URL
+ echo -ne "Please type the path: "
+ read FTP_CACHE_PATH
+ echo -ne "Please type the username: "
+ read FTP_CACHE_USER
+ echo -ne "Please type the password (hidden): "
+ read -s FTP_CACHE_PASS
+
+ fi
+
+ clear
+ echo -ne "***If there are some important messages you\n"
+ echo -ne "***can get a notification mail.\n"
+ echo -ne "***Please type one ore more email adresses (seperated by comma).\n"
+ echo -ne "Actually there is: $MAIL_TO\n"
+ echo -ne "Do you want to change this? (y/N) "
+ read YESNO
+ if [ "$YESNO" == "y" ]; then
+ echo -ne "Please type: "
+ read MAIL_TO
+ echo -ne "You should enter a mail server to login...\n"
+ echo -ne "Please type the url: "
+ read MAIL_SERVER
+ echo -ne "Please type where the email is from: "
+ read MAIL_FROM
+ echo -ne "Please type the username: "
+ read MAIL_USER
+ echo -ne "Please type the password (hidden): "
+ read -s MAIL_PASS
+
+ fi
+ echo -ne "\n${BOLD}***Saving...${NORMAL}"
+ cat <<END > $BASEDIR/.config
+### iso server
+FTP_ISO_URL=$FTP_ISO_URL
+FTP_ISO_PATH=$FTP_ISO_PATH
+FTP_ISO_USER=$FTP_ISO_USER
+FTP_ISO_PASS=$FTP_ISO_PASS