-
Notifications
You must be signed in to change notification settings - Fork 1
/
arch_setup.sh
executable file
·65 lines (63 loc) · 1.4 KB
/
arch_setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
##
## MidKnight PROJECT, 2019
## {MidKnight}projects
## File description:
## arch_setup.sh
##
#!/bin/bash
green='\e[0;32m'
red='\e[0;31m'
neutral='\e[0;m'
NetworkManager
systemctl enable NetworkManager
systemctl start NetworkManager
read -p "Would you like to install SSH (Y/n): " SSH
if [ "$SSH" = "" ]
then
pacman -S openssh
elif [ "$SSH" = "Y" ]
then
pacman -S openssh
elif [ "$SSH" = "y" ]
then
pacman -S openssh
fi
clear
read -p "Would you like to install Sudo (Y/n): " sudo
if [ "$sudo" = "" ]
then
pacman -S sudo
elif [ "$sudo" = "Y" ]
then
pacman -S sudo
elif [ "$sudo" = "y" ]
then
pacman -S sudo
fi
pacman -S xfce4 xfce-goodies
pacman -S --needed xorg
pacman -S lightdm lightdm-gtk-greeter
systemctl enable lightdm
clear
lspci | grep VGA
echo -e "${green}Look for the name of the driver corresponding to the hardware above.\n${neutral}"
sleep 1
read -p "Enter the name of the driver concerned: " driver
pacman -S $driver
clear
echo -e "${green}------- CONFIGURATION COMPLETE -------\n${neutral}"
sleep 7
clear
echo -e "${red}------- END OF CONFIGURATION -------\n\n${neutral}"
clear
echo -e "${red}------- IMMINENT EXTINCTION -------\n\n${neutral}"
sleep 1
clear
echo -e "${red}------- IMMINENT EXTINCTION .------\n\n${neutral}"
sleep 1
clear
echo -e "${red}------- IMMINENT EXTINCTION ..-----\n\n${neutral}"
sleep 1
clear
echo -e "${red}------- IMMINENT EXTINCTION ...----\n\n${neutral}"
shutdown now