mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
update to gen10 server
This commit is contained in:
parent
67a669075f
commit
3b13b23727
13
lib.sh
13
lib.sh
@ -1208,19 +1208,18 @@ fi
|
||||
|
||||
# Check if it's the Home/SME Server
|
||||
|
||||
#if home_sme_server
|
||||
#then
|
||||
# if home_sme_server
|
||||
# then
|
||||
# do something
|
||||
#fi
|
||||
|
||||
# fi
|
||||
home_sme_server() {
|
||||
# OLD DISKS: "Samsung SSD 860" || ST5000LM000-2AN1 || ST5000LM015-2E81
|
||||
# OLD MEMORY: BLS16G4 (Balistix Sport) || 18ASF2G72HZ (ECC)
|
||||
if lshw -c system | grep -q NUC8i3BEH
|
||||
if lshw -c system | grep -q "NUC8i3BEH\|NUC10i3FNH"
|
||||
then
|
||||
if lshw -c memory | grep -q "BLS16G4\|18ASF2G72HZ\|16ATF2G64HZ"
|
||||
if lshw -c memory | grep -q "BLS16G4\|18ASF2G72HZ\|16ATF2G64HZ"
|
||||
then
|
||||
if lshw -c disk | grep -q "ST2000LM015-2E81\|WDS400\|ST5000LM000-2AN1\|ST5000LM015-2E81\|Samsung SSD 860"
|
||||
if lshw -c disk | grep -q "ST2000LM015-2E81\|WDS400\|ST5000LM000-2AN1\|ST5000LM015-2E81\|Samsung SSD 860\|WDS500G1R0B"
|
||||
then
|
||||
NEXTCLOUDHOMESME=yes-this-is-the-home-sme-server
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user