Kaynağa Gözat

Some additional clears

Bob Mottram 7 yıl önce
ebeveyn
işleme
4b9f281007
1 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  1. 6
    0
      src/freedombone-config

+ 6
- 0
src/freedombone-config Dosyayı Görüntüle

608
                            if [ ${#possible_username} -gt 1 ]; then
608
                            if [ ${#possible_username} -gt 1 ]; then
609
                                if [[ $possible_username != $GENERIC_IMAGE_USERNAME ]]; then
609
                                if [[ $possible_username != $GENERIC_IMAGE_USERNAME ]]; then
610
                                    MY_USERNAME=$(cat $data)
610
                                    MY_USERNAME=$(cat $data)
611
+                                   clear
612
+                                   echo $'Creating user account'
611
                                    chmod 600 /etc/shadow
613
                                    chmod 600 /etc/shadow
612
                                    chmod 600 /etc/gshadow
614
                                    chmod 600 /etc/gshadow
613
                                    useradd -m -s /bin/bash $MY_USERNAME
615
                                    useradd -m -s /bin/bash $MY_USERNAME
691
         esac
693
         esac
692
     done
694
     done
693
     save_configuration_values
695
     save_configuration_values
696
+    clear
694
 }
697
 }
695
 
698
 
696
 function choose_system_variant {
699
 function choose_system_variant {
968
     esac
971
     esac
969
     save_configuration_values
972
     save_configuration_values
970
 
973
 
974
+    clear
975
+    echo 'Setting locale'
976
+
971
     locale-gen "${DEFAULT_LANGUAGE}"
977
     locale-gen "${DEFAULT_LANGUAGE}"
972
     update-locale LANG=${DEFAULT_LANGUAGE}
978
     update-locale LANG=${DEFAULT_LANGUAGE}
973
     update-locale LANGUAGE=${DEFAULT_LANGUAGE}
979
     update-locale LANGUAGE=${DEFAULT_LANGUAGE}