Explorar el Código

Reading mirrors from config file

Bob Mottram hace 8 años
padre
commit
c078225608
Se han modificado 2 ficheros con 549 adiciones y 534 borrados
  1. 3
    0
      src/freedombone-config
  2. 546
    534
      src/freedombone-utils-config

+ 3
- 0
src/freedombone-config Ver fichero

@@ -331,6 +331,9 @@ function save_configuration_file {
331 331
     if [ $FRIENDS_MIRRORS_PASSWORD ]; then
332 332
         echo "FRIENDS_MIRRORS_PASSWORD=$FRIENDS_MIRRORS_PASSWORD" >> $CONFIGURATION_FILE
333 333
     fi
334
+    if [ $MY_MIRRORS_PASSWORD ]; then
335
+        echo "MY_MIRRORS_PASSWORD=$MY_MIRRORS_PASSWORD" >> $CONFIGURATION_FILE
336
+    fi
334 337
 }
335 338
 
336 339
 # test a domain name to see if it's valid

+ 546
- 534
src/freedombone-utils-config
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero