-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinstall.sh
47 lines (40 loc) · 1.55 KB
/
install.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
#!/bin/bash
# List Internet Radio Streams to DLNA Directory with Rygel
echo '
###### # # # # ###### # ###### ### #######
# # # ## # # # # # # # # # # # #
# # # # # # # # # # # # # # # # #
# # # # # # # # ##### ###### # # # # # # #
# # # # # # ####### # # ####### # # # # #
# # # # ## # # # # # # # # # # #
###### ####### # # # # # # # # ###### ### #######
'
# Choose between Older Raspberry Pi (Bullseye) and Newer (Bookworm)
PS3='Please select the version of Debian your system is using: '
options=("Raspberry Pi OS Bullseye [Debian 11]" "Raspberry Pi OS Bookworm [Debian 12]" "Linux Mint 21" "Quit")
select opt in "${options[@]}"
do
case $opt in
"Raspberry Pi OS Bullseye [Debian 11]")
echo -e "\n\nOld School! I like it!\n\n"
source "install-deb11.sh"
break
;;
"Raspberry Pi OS Bookworm [Debian 12]")
echo -e "\n\nToo cool for school!\n\n"
source "install-deb12.sh"
break
;;
"Linux Mint 21")
echo -e "\n\nRefreshing! But not quite ready just yet.\n\n"
break
;;
"Quit")
break
;;
*) echo "invalid option $REPLY";;
esac
done
sudo systemctl restart dlna.service
sleep 8
watch systemctl status dlna.service