-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript_3.sh
More file actions
22 lines (22 loc) · 732 Bytes
/
script_3.sh
File metadata and controls
22 lines (22 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
black='\e[0;30m' # Schwarz
pacstrap /mnt syslinux
syslinux-install_update -i -a -m -c /mnt
blue='\e[2;34m' # Blau
NC='\e[0m' # No Color
green='\e[0;32m' # Blau
echo -e "${green}Bootloader wurde installiert${NC}"
wget -q https://raw.github.com/Korni22/xbmc_dev/master/postinstall.sh
mv ./postinstall.sh /mnt/root &
wget -q https://raw.github.com/Korni22/prepared-configs/master/syslinux.cfg
mv ./syslinux.cfg /mnt/boot/syslinux/syslinux.cfg
clear
echo -e "${green}Bootloader wurde konfiguriert${NC}"
umount /mnt
echo -e "${green}System ist einsatzbereit!${NC}"
echo -e "${blue}Soll der Rechner neu gestartet werden?${NC}"
select jn in "Ja" "Nein"; do
case $jn in
Ja ) reboot; break;;
Nein ) exit;;
esac
done