Developing lightweight computation at the DSG edge

qmp_wifi_restart 271 Bytes
Newer Older
1
2
3
4
5
#!/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

6
7
8
9
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
10