mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update local_facts.fact
This commit is contained in:
parent
424d0f4e14
commit
01f048c54d
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ if tmp=$(grep ^ID= /etc/os-release); then
|
||||||
OS=${OS//\"/} # Remove all '"'
|
OS=${OS//\"/} # Remove all '"'
|
||||||
fi
|
fi
|
||||||
if [ -f /etc/rpi-issue ]; then
|
if [ -f /etc/rpi-issue ]; then
|
||||||
OS="raspbian"
|
OS="raspbian" # For 64-bit Raspberry Pi OS which contains "ID=debian" as
|
||||||
fi
|
fi # of 2020: https://github.com/raspberrypi/Raspberry-Pi-OS-64bit/issues/6
|
||||||
|
|
||||||
if tmp=$(grep ^VERSION_ID= /etc/os-release); then
|
if tmp=$(grep ^VERSION_ID= /etc/os-release); then
|
||||||
VERSION_ID=$(echo $tmp | cut -d= -f2)
|
VERSION_ID=$(echo $tmp | cut -d= -f2)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue