瀏覽代碼

installer: use `defaults` mount option for swap

this changes nothing in practice, but `sw` has no actual meaning on
Linux
Roberto Ricci 2 年之前
父節點
當前提交
80dce8d0ec
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      installer.sh.in

+ 1 - 1
installer.sh.in

@@ -1039,7 +1039,7 @@ failed to activate swap on $dev!\ncheck $LOG for errors." ${MSGBOXSIZE}
             fi
             # Add entry for target fstab
             uuid=$(blkid -o value -s UUID "$dev")
-            echo "UUID=$uuid none swap sw 0 0" >>$TARGET_FSTAB
+            echo "UUID=$uuid none swap defaults 0 0" >>$TARGET_FSTAB
             continue
         fi