Add known networks when building the Linux ISO

* Instead of at login
This commit is contained in:
2Shirt 2019-05-05 12:53:07 -06:00
parent d8024be2c3
commit f8773e1736
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
3 changed files with 3 additions and 3 deletions

View file

@ -2,9 +2,8 @@
#
## Setup network and update hostname
# Add saved networks to NetworkManager
sudo setup-wifi
sudo systemctl restart NetworkManager
# Wait for WiFi
sleep 1s
# Set hostname
IP="$(ip a show scope global \

View file

@ -284,6 +284,7 @@ function update_live_env() {
# WiFi
cp "$ROOT_DIR/.linux_items/known_networks" "/root/known_networks"
echo "add-known-networks" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh"
}
function update_repo() {