diff --git a/scripts/local_facts.fact b/scripts/local_facts.fact index 5b60bbe08..9f4143ce9 100755 --- a/scripts/local_facts.fact +++ b/scripts/local_facts.fact @@ -11,6 +11,9 @@ fi OS=`grep ^ID= /etc/*elease|cut -d= -f2` OS=${OS//\"/} +if [ -f /etc/rpi-issue ]; then + OS="raspbian" +fi VERSION_ID=`grep VERSION_ID /etc/*elease | cut -d= -f2` VERSION_ID=${VERSION_ID//\"/} VERSION_ID=${VERSION_ID%%.*}