#!/bin/sh # Temporal script to re-enable wifi after the boot # this is to fix a temporaly issue when you are using non-standard wifi chanels if [ $(cat /etc/rc.local | grep -c ^wifi) -lt 1 ]; then sed -i -e "/^exit 0/d" /etc/rc.local echo "wifi" >> /etc/rc.local fi