Compare commits
5 Commits
5b1733cdae
...
68f98816cb
Author | SHA1 | Date |
---|---|---|
Anita Zhang | 68f98816cb | |
Anita Zhang | 4da0b33511 | |
Kai-Heng Feng | fe156aeafc | |
Lennart Poettering | 55fd6dca07 | |
Lennart Poettering | e8b9e9c470 |
|
@ -229,6 +229,12 @@ sensor:modalias:acpi:BOSC0200*:dmi:*:svnCube:pnI15-TC:*
|
||||||
sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t*
|
sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t*
|
||||||
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
|
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
|
||||||
|
|
||||||
|
#########################################
|
||||||
|
# Dell
|
||||||
|
#########################################
|
||||||
|
sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:pnVostro5581:*
|
||||||
|
ACCEL_LOCATION=base
|
||||||
|
|
||||||
#########################################
|
#########################################
|
||||||
# DEXP
|
# DEXP
|
||||||
#########################################
|
#########################################
|
||||||
|
|
|
@ -1258,6 +1258,7 @@ int get_timezones(char ***ret) {
|
||||||
}
|
}
|
||||||
|
|
||||||
strv_sort(zones);
|
strv_sort(zones);
|
||||||
|
strv_uniq(zones);
|
||||||
|
|
||||||
} else if (errno != ENOENT)
|
} else if (errno != ENOENT)
|
||||||
return -errno;
|
return -errno;
|
||||||
|
@ -1277,6 +1278,10 @@ bool timezone_is_valid(const char *name, int log_level) {
|
||||||
if (isempty(name))
|
if (isempty(name))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
/* Always accept "UTC" as valid timezone, since it's the fallback, even if user has no timezones installed. */
|
||||||
|
if (streq(name, "UTC"))
|
||||||
|
return true;
|
||||||
|
|
||||||
if (name[0] == '/')
|
if (name[0] == '/')
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue