Install NetworkManager
only if enabled
This commit is contained in:
parent
31da52f412
commit
88fc280dd5
1 changed files with 4 additions and 1 deletions
|
@ -63,7 +63,10 @@ begin
|
||||||
end
|
end
|
||||||
|
|
||||||
and genfstab -U "$mountDir" >>"$mountDir/etc/fstab"
|
and genfstab -U "$mountDir" >>"$mountDir/etc/fstab"
|
||||||
and arch-chroot "$mountDir" systemctl enable NetworkManager
|
|
||||||
|
and if isProgramEnabled "networkmanager"
|
||||||
|
arch-chroot "$mountDir" systemctl enable NetworkManager
|
||||||
|
end
|
||||||
|
|
||||||
and if set -q timezone
|
and if set -q timezone
|
||||||
arch-chroot "$mountDir" ln -sf "/usr/share/zoneinfo/$timezone" /etc/localtime
|
arch-chroot "$mountDir" ln -sf "/usr/share/zoneinfo/$timezone" /etc/localtime
|
||||||
|
|
Loading…
Reference in a new issue