10 lines
363 B
Plaintext
Executable File
10 lines
363 B
Plaintext
Executable File
# Default rc.local for void; add your custom commands here.
|
|
#
|
|
# This is run by runit in stage 2 before the services are executed
|
|
# (see /etc/runit/2).
|
|
ip link set wlp2s0 up
|
|
ip a add 192.168.1.7/24 dev wlp2s0
|
|
ip route add default via 192.168.1.1 dev wlp2s0
|
|
wpa_supplicant -B -D nl80211 -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
|
|
wpa_cli select_network 0
|