cryptenroll/repart/creds: no longer default to binding against literal PCR 7 (#36200)
[systemd.io.git] / man / check-os-release.sh
blob12f7ee12cc5cd7365ecb024c1af5b3f2e60ff147
1 #!/bin/sh -eu
2 # SPDX-License-Identifier: MIT-0
4 test -e /etc/os-release && os_release='/etc/os-release' || os_release='/usr/lib/os-release'
5 . "${os_release}"
7 echo "Running on ${PRETTY_NAME:-Linux}"
9 if [ "${ID:-linux}" = "debian" ] || [ "${ID_LIKE#*debian*}" != "${ID_LIKE}" ]; then
10 echo "Looks like Debian!"