summaryrefslogtreecommitdiff
path: root/arch-magik.sh
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-07-20 21:32:26 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-07-20 21:32:26 +0530
commit617fa95c9384de7f2581872dc686b6283cf91548 (patch)
tree34ad872eb2ca5320346535ef59ec71bd60662901 /arch-magik.sh
parentf6d443afad0af654b8462c9b0143aebb5cf296bc (diff)
bash as user shell
Diffstat (limited to 'arch-magik.sh')
-rwxr-xr-xarch-magik.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch-magik.sh b/arch-magik.sh
index 22f753e..f0ceaeb 100755
--- a/arch-magik.sh
+++ b/arch-magik.sh
@@ -1,8 +1,8 @@
#!/bin/sh
# Prerequisites:
-# pacman -Sy git vim sed
-
+# pacman -Sy git vim
+# cd
#part1
printf '\033c'
echo "Welcome to Saumit's arch installer and ricing bootstraping script"
@@ -82,13 +82,13 @@ pacman --noconfirm -S xorg-server xorg-xinit xorg-xkill xorg-xbacklight \
xcompmgr libnotify dunst wget jq aria2 cowsay \
dhcpcd wpa_supplicant networkmanager pamixer mpd ncmpcpp \
zsh-syntax-highlighting xdg-user-dirs libconfig \
- bluez bluez-utils
+ bluez bluez-utils &&
systemctl enable NetworkManager.service
sed -i '/%wheel ALL=(ALL) NOPASSWD: ALL/s/^#//g' /etc/sudoers
echo "Enter Username: "
read username
-useradd -m -G wheel -s /bin/zsh $username
+useradd -m -G wheel -s /bin/bash $username
passwd $username
echo "Pre-Installation Finish Reboot now"
ai3_path=/home/$username/arch_install3.sh