瀏覽代碼

Check for default usernames

Bob Mottram 9 年之前
父節點
當前提交
f46e2358d7
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/freedombone-config

+ 2
- 2
src/freedombone-config 查看文件

@@ -734,8 +734,8 @@ function interactive_configuration {
734 734
         echo $'No user account was selected'
735 735
         exit 8347
736 736
     fi
737
-    if [[ $MY_USERNAME == 'debian' ]]; then
738
-        echo $"Don't use the default debian user account"
737
+    if [[ $MY_USERNAME == 'debian' || $MY_USERNAME == 'fbone' ]]; then
738
+        echo $"Don't use the default user account"
739 739
         exit 9341
740 740
     fi
741 741
     if [ ! -d /home/$MY_USERNAME ]; then