Skip to content

Commit be122a2

Browse files
authored
Merge pull request #2811 from nextcloud/small1-New-SMEHW
Update lib.sh to new SME HW
2 parents 3c73f4a + aee6f18 commit be122a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2063,14 +2063,14 @@ fi
20632063
home_sme_server() {
20642064
# OLD DISKS: "Samsung SSD 860" || ST5000LM000-2AN1 || ST5000LM015-2E81
20652065
# OLD MEMORY: BLS16G4 (Balistix Sport) || 18ASF2G72HZ (ECC)
2066-
if lshw -c system | grep -q "NUC8i3BEH\|NUC10i3FNH\|PN50\|PN51\|PN52"
2066+
if lshw -c system | grep -q "NUC8i3BEH\|NUC10i3FNH\|PN50\|PN51\|PN52\|MGF8BSW"
20672067
then
2068-
if lshw -c memory | grep -q "BLS16G4\|18ASF2G72HZ\|16ATF2G64HZ\|CT16G4SFD8266\|M471A4G43MB1\|9905744\|HMA82GS6JJR8N\|HMA82GS6CJR8N\|9905703-023\|9905744-110"
2068+
if lshw -c memory | grep -q "BLS16G4\|18ASF2G72HZ\|16ATF2G64HZ\|CT16G4SFD8266\|M471A4G43MB1\|9905744\|HMA82GS6JJR8N\|HMA82GS6CJR8N\|9905703-023\|9905744-110\|CBDAD5S560016G"
20692069
then
20702070
if lshw -c disk | grep -q "ST2000LM015-2E81\|WDS400\|ST5000LM000-2AN1\|ST5000LM015-2E81\|Samsung SSD 860\|WDS500G1R0B"
20712071
then
20722072
NEXTCLOUDHOMESME=yes-this-is-the-home-sme-server
2073-
elif lshw -c storage | grep -q "SN700"
2073+
elif lshw -c storage | grep -q "SN700\|Micron"
20742074
then
20752075
NEXTCLOUDHOMESME=yes-this-is-the-home-sme-server
20762076
fi

0 commit comments

Comments
 (0)