]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lldpd: also try /usr/lib/os-release if /etc/os-release is not present
authorVincent Bernat <vincent@bernat.im>
Mon, 6 Oct 2014 10:08:14 +0000 (12:08 +0200)
committerVincent Bernat <vincent@bernat.im>
Mon, 6 Oct 2014 10:08:14 +0000 (12:08 +0200)
commitf24382c4166868c66f032a7212da9edbee780fdf
treea94179d3d69813cf46d6c227fa0dddd141ef353e
parent3a8e3db1d622abcb2db74f735ad4864c40fcba47
lldpd: also try /usr/lib/os-release if /etc/os-release is not present

Usually, `/etc/os-release` is a symlink to `/usr/lib/os-release` but on
some of them, programs are expected to fallback to
`/usr/lib/os-release`.
src/daemon/lldpd.c