Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
6652e951
Commit
6652e951
authored
Jan 03, 2016
by
Igor Pečovnik
Browse files
title fix
parent
c53e9d17
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions.sh
View file @
6652e951
...
...
@@ -15,13 +15,15 @@ set ${serverIP//./ }
SUBNET
=
"
$1
.
$2
.
$3
."
hostnamefqdn
=
$(
hostname
-f
)
mysql_pass
=
""
backtitle
=
"Micro home server (c) Igor Pecovnik"
#distribution=$(lsb_release -i)" "$(lsb_release -cs)
function
choose_webserver
{
dialog
--title
"Choose a webserver"
\
--backtitle
"Micro home server (c) Igor Pecovnik "
\
--backtitle
$backtitle
\
--yes-label
"Apache"
\
--no-label
"Nginx"
\
--yesno
"
\n
Choose a wenserver which you are familiar with. They both work almost the same."
8 70
...
...
@@ -320,7 +322,7 @@ if !(grep -qs tvheadend "/etc/apt/sources.list.d/tvheadend.list");then
echo "
deb
http
://apt.tvheadend.org/stable
wheezy main
" >> /etc/apt/sources.list.d/tvheadend.list
wget -qO - http://apt.tvheadend.org/stable/repo.gpg.key | apt-key add -
fi
apt-get update | dialog --progressbox "
Force
package list update ...
" 20 70
apt-get update | dialog
--backtitle
$backtitle
--progressbox "
Force
package list update ...
" 20 70
install_packet "
tvheadend
xmltv-util
"
install -m 755 scripts/tv_grab_file /usr/bin/tv_grab_file
sed -i 's/name"
:
".*"
/name
": "
'$0'
"/' /home/hts/.hts/tvheadend/superuser
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment