Commit ac206de5 authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

tvhead

parent a8854a86
......@@ -322,8 +322,8 @@ if !(grep -qs tvheadend "/etc/apt/sources.list.d/tvheadend.list");then
fi
install_packet "libssl-doc libssl1.0.0 zlib1g-dev 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
sed -i 's/word": ".*"/word": "'$1'"/' /home/hts/.hts/tvheadend/superuser
sed -i 's/name": ".*"/name": "'$tv_user'"/' /home/hts/.hts/tvheadend/superuser
sed -i 's/word": ".*"/word": "'$tv_pass'"/' /home/hts/.hts/tvheadend/superuser
service tvheadend restart
}
......
......@@ -55,7 +55,7 @@ do
install_samba
fi
if [ "$i" == "TV headend" ] ; then
install_tvheadend "$tv_user" "$tv_pass"
install_tvheadend
fi
if [ "$i" == "Syncthing" ] ; then
install_syncthing
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment