Raspberian Strech need some tuning to the setup_script
Something like this to detect (seems to work as jessie later)
if [ "9" =
cat /etc/issue | awk -F” ” ’{print $3}’` ]
then
### This is the Raspberry PI running Raspbian 9
OS_Version=”strech”
echo ”Raspbian Stretch config very like Jessie”
fi`
#use unstable repo for telldus
if [ $TELLSTICK = "Y" ] || [ $TELLSTICK = "y" ] ; then
sed -i 's:^.*download.telldus.com/debian/.*::' /etc/apt/sources.list
sh -c 'echo "deb http://s3.eu-central-1.amazonaws.com/download.telldus.com unstable main" >> /etc/apt/sources.list
wget -q http://download.telldus.com/debian/telldus-public.key -O- | sudo apt-key add -
fi
#need to add jessie repos because php5 is not in Strech
echo "deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi" >> /etc/apt/sources.list