system: replace openwrt_release with os-release
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 20 Jun 2024 07:53:12 +0000 (09:53 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 20 Oct 2024 21:33:14 +0000 (23:33 +0200)
commit0f88a52dc8a5451bd7f1f33ffff3b1ba3db98174
tree14934e5e428f70eaa7282786039485b4ce8aa8c1
parentf230c11771875adc1f74bef013e8cea1fa1867bc
system: replace openwrt_release with os-release

The information required for output via the ubus is currently read from
the file '/etc/openwrt_release'. The same information can also be found
under '/usr/lib/os-release'. This file contains further information and is
also the most common used file in other Linux distributions.

So let´s use this file.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
system.c