-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathseedbox.sh
74 lines (50 loc) · 1.13 KB
/
seedbox.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
66
67
68
69
70
71
72
73
74
#!/bin/sh
if [ $USER != "root" ] ; then
echo ""
echo " This script must be run as root !"
echo ""
exit
fi
if ! ping -c 1 google.com >> /dev/null 2>&1 ; then
echo ""
echo " You are not connected to internet please check your connection !"
echo ""
exit
fi
. functions/functions.sh
green="\033[1;32m"
blue="\033[1;34m"
orange="\033[0;33m"
red="\033[1;31m"
nc="\033[0m"
step=1
fix_locale
update_upgrade_system
install_plexmediaserver
echo ""
read -p " As default Sonarr and Radarr will be installed. Do you prefer install Sickrage and CouchPotato ? [y/N] " install_searchers
echo ""
if [ "$install_searchers" = "y" ] ; then
install_sickrage
install_couchpotato
configure_couchpotato
else
install_sonarr
install_radarr
fi
echo ""
read -p " Would you like install rTorrent + ruTorrent or Transmission ? [r/T] " install_torrent
echo ""
if [ "$install_torrent" = "r" ] ; then
install_rtorrent_rutorrent
configure_rutorrent
configure_nginx_rutorrent
configure_user_rtorrent_rutorrent
configure_rtorrent_service
else
install_transmission
configure_transmission
fi
install_jackett
install_tautulli
show_result