root/march-chroot:Added cryptroot and rootpart so that the vars can be used there
This commit is contained in:
@@ -22,7 +22,7 @@ sudogrp="CHANGEME"
|
||||
CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
|
||||
while true; do
|
||||
case "$!" in
|
||||
case "$1" in
|
||||
-t|--timezone)
|
||||
timezone="$2"
|
||||
shift 2
|
||||
@@ -57,8 +57,8 @@ while true; do
|
||||
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 texlive-most evince pandoc pdfgrep adobe-source-han-sans-otc-fonts python3 python3-pip ranger atool elinks ffmpegthumbnailer highlight libcaca lynx mediainfo odt2txt perl-image-exiftool poppler python-chardet transmission-cli w3m
|
||||
|
||||
echo "%$sudogrp ALL=(ALL) ALL" >> /etc/sudoers
|
||||
groupadd $sudogrp
|
||||
useradd -m -G $sudogrp -s $username
|
||||
groupadd "$sudogrp"
|
||||
useradd -m -G "$sudogrp" -s "$username"
|
||||
|
||||
systemctl enable lightdm
|
||||
sed -i "s/#user-session.*/user-session=i3/g" /etc/lightdm/lightdm.conf
|
||||
|
||||
Reference in New Issue
Block a user