[+] Copy network config after installation
This commit is contained in:
parent
b64a4e2978
commit
263ef76863
1 changed files with 5 additions and 0 deletions
|
@ -1617,6 +1617,11 @@ if [ "${multicard}" == "y" ]; then
|
||||||
echo "DRI_PRIME=1" >> ${mountpoint}/etc/environment
|
echo "DRI_PRIME=1" >> ${mountpoint}/etc/environment
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Kopiere Netzwerkonfigurationen wie WLAN-Passwörter (falls vorhanden)
|
||||||
|
if [ -f "/etc/NetworkManager/system-connections/*" ]; then
|
||||||
|
cp -v /etc/NetworkManager/system-connections/* ${mountpoint}/etc/NetworkManager/system-connections/
|
||||||
|
fi
|
||||||
|
|
||||||
touch ${mountpoint}/etc/grub-snapshot
|
touch ${mountpoint}/etc/grub-snapshot
|
||||||
arch-chroot ${mountpoint} grub-mkconfig -o /boot/grub/grub.cfg
|
arch-chroot ${mountpoint} grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue