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 ## Setup network and update hostname
# Add saved networks to NetworkManager # Wait for WiFi
sudo setup-wifi sleep 1s
sudo systemctl restart NetworkManager
# Set hostname # Set hostname
IP="$(ip a show scope global \ IP="$(ip a show scope global \

View file

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