Skip to content
Snippets Groups Projects
Unverified Commit 085c0823 authored by Nikita Travkin's avatar Nikita Travkin Committed by Clayton Craft
Browse files

Use /usr/share/misc/source_deviceinfo (MR 48)

To allow for user-modifiable deviceinfo values, the source_deviceinfo
was introduced to the system. Make use of it, if it exists.
parent 3527e992
No related branches found
No related tags found
No related merge requests found
......@@ -197,6 +197,9 @@ source_deviceinfo() {
# shellcheck disable=SC1090
. "$local_deviceinfo"
elif [ -f /usr/share/misc/source_deviceinfo ]; then
# shellcheck disable=SC1091
. /usr/share/misc/source_deviceinfo
else
# shellcheck disable=SC1091
[ -f /usr/share/deviceinfo/deviceinfo ] && . /usr/share/deviceinfo/deviceinfo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment