mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-07-05 21:33:36 +00:00
Compare commits
2 Commits
f67c76be2e
...
v1.18
Author | SHA1 | Date | |
---|---|---|---|
10c5438189 | |||
57df0a8dd9 |
@ -775,6 +775,15 @@ avx_check() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Check if swap is set up
|
||||
swap_check() {
|
||||
if cat /proc/swaps | grep -vq "Filename"; then
|
||||
preflight_pass+=("You have swap space configured.")
|
||||
else
|
||||
preflight_fail+=("You don't appear to have swap space configured.\nWe recommend configuring an 8-16 GB swap file.")
|
||||
fi
|
||||
}
|
||||
|
||||
# Check that the system is optimized for Star Citizen
|
||||
preflight_check() {
|
||||
# Initialize variables
|
||||
@ -789,6 +798,7 @@ preflight_check() {
|
||||
# Call the optimization functions to perform the checks
|
||||
wine_check
|
||||
memory_check
|
||||
swap_check
|
||||
avx_check
|
||||
mapcount_check
|
||||
filelimit_check
|
||||
|
Reference in New Issue
Block a user