Add known networks when building the Linux ISO
* Instead of at login
This commit is contained in:
parent
d8024be2c3
commit
f8773e1736
3 changed files with 3 additions and 3 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue