I know this question has been asked a lot of times already, and I think I might have tried everything suggested on the internet, but I just can't get it running
/etc/rc.local:
#!/bin/sh -e
while :
do
alsactl restore
if [ $? = 0 ]
then
echo "alsactl restored" >> ~/Desktop/rc.log
break
else
echo $?
fi
sleep 2
done
exit 0
permissions are
$ ls -l /etc/rc.local
-rwxr-xr-x 1 root root 855 Jul 5 17:05 /etc/rc.local
any ideas?
Ubuntu 14.04