For me the script was not working, as hypriot is not accepting commands in rc.local...so i run the script @reboot in cron (which works perfectly). I would suggest to swap this out and let the script run in cron instead of rc.local to make it more compatible...