Let arch-reboot run after network is online
This commit is contained in:
@@ -8,4 +8,3 @@ ExecStart=/root/march-reboot.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ mount $cryptroot /mnt
|
||||
mkdir /mnt/boot
|
||||
mount $bootpart /mnt/boot
|
||||
|
||||
pacstrap /mnt base base-devel linux linux-firmware dhcpcd
|
||||
pacstrap /mnt base base-devel linux linux-firmware NetworkManager
|
||||
|
||||
genfstab -U /mnt >| /mnt/etc/fstab
|
||||
|
||||
|
||||
@@ -114,4 +114,4 @@ options rw cryptdevice=$(blkid $rootpart | cut -d" " -f2 | tr -d \"):cryptroot r
|
||||
sed -i "s/march-reboot.sh/\0 -u \"$username\" -s \"$sudogrp\"/" /etc/systemd/system/march.service
|
||||
|
||||
systemctl enable march.service
|
||||
systemctl enable dhcpcd.service
|
||||
systemctl enable NetworkManager.service
|
||||
|
||||
@@ -54,7 +54,7 @@ while true; do
|
||||
esac
|
||||
done
|
||||
|
||||
pacman -Syu --noconfirm
|
||||
pacman -Sy
|
||||
pacman -S --noconfirm git zsh gvim wget arch-audit lightdm lightdm-webkit2-greeter xorg-server xf86-video-intel i3-gaps xorg-xbacklight xorg-xrandr i3lock-color alsa-utils pulseaudio pulseaudio-alsa pulseaudio-bluetooth playerctl pavucontrol exfat-utils udiskie blueman acpi acpid tlp compton conky rxvt-unicode networkmanager network-manager-applet networkmanager-openconnect networkmanager-openvpn stow maim openssh xdotool xclip thunderbird firefox veracrypt keepassxc evince pandoc pdfgrep adobe-source-han-sans-otc-fonts python3 python-pip ranger atool elinks ffmpegthumbnailer highlight libcaca lynx mediainfo odt2txt perl-image-exiftool poppler python-chardet transmission-cli w3m texlive-most
|
||||
|
||||
echo "%$sudogrp ALL=(ALL) ALL" >> /etc/sudoers
|
||||
|
||||
Reference in New Issue
Block a user