mirror of
https://github.com/samba-team/samba.git
synced 2025-01-06 13:18:07 +03:00
9313731e96
/etc/os-release is quite universal. It can be found on most Linux distros and on FreeBSD. Attempt to use /etc/os-release to detect Red Hat, SUSE and Debian based distros. If /etc/os-release exists but distro is unknown then $ID is printed as the detected distro, which will probably result in sub-optimal behaviour, but when tracing it will at least indicate that a new distro needs to be handled. The only way to handle missing /etc/os-release is to set CTDB_INIT_STYLE - see ctdb.sysconfig(5) for details. The event script unit tests are updated to use /etc/os-release so the new logic is exercised. Signed-off-by: Martin Schwenke <mschwenke@ddn.com> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Mon Oct 30 09:19:11 UTC 2023 on atb-devel-224 |
||
---|---|---|
.. | ||
cunit | ||
eventd | ||
eventscripts | ||
onnode | ||
shellcheck | ||
takeover | ||
takeover_helper | ||
tool |