blob: 3234f8c43f22846df1a9c043455f359278a3eca0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
setup_wifi()
{
sudo wpa_supplicant -D wext -i wlan0 -c ~/.net_profiles/$1.conf &>/dev/null &
sudo /etc/init.d/dhcpcd start
sleep 30
sudo rc-config start ntp-client
}
setup_wifi $1
|