system: fix description value from os-release
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 25 Oct 2024 09:04:10 +0000 (11:04 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 6 Nov 2024 09:34:47 +0000 (10:34 +0100)
commit109fa41b2321506280397e03757976c468832668
tree73fc1f84f5b475f24d303d1bd745331ef505fe9b
parentef3ab8bc8fb18216793dd0c8106dd222c560453a
system: fix description value from os-release

When changing the read file from '/etc/openwrt_release' to
'/usr/lib/os-release', the correct variable for reading the description
was not selected. The correct variable from the file ‘/usr/lib/os-release’
is 'OPENWRT_RELEASE'.

Fixes: 0f88a52dc8a5 ("system: replace openwrt_release with os-release")
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
[ add fixes tag ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
system.c