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
18eab597
Commit
18eab597
authored
Nov 12, 2017
by
Igor Pecovnik
Browse files
Updating Tvheadinstall and adding ExaGear for Armbian (testing)
parent
88c89899
Changes
1
Hide whitespace changes
Inline
Side-by-side
softy
View file @
18eab597
...
...
@@ -27,15 +27,19 @@ LIST+=( "TV headend" "TV streaming / proxy" "$TVHEADEND_STATUS" )
# synthing
SYNCTHING_STATUS
=
"$(check_if_installed syncthing && echo "
on
" || echo "
off
" )"
LIST
+=
(
"Syncthing"
"Personal cloud @syncthing.net"
"
$SYNCTHING_STATUS
"
)
# Exagear
if
[[
"$(check_if_installed xserver-xorg && echo "
on
")"
==
"on"
&&
"
$family
"
==
"Ubuntu"
]];
then
EXAGEAR_STATUS
=
"$(check_if_installed exagear-armbian && echo "
on
" || echo "
off
" )"
LIST
+=
(
"ExaGear"
"32bit x86 Linux/Windows emulator trial"
"
$EXAGEAR_STATUS
"
)
fi
if
[[
"$(dpkg --print-architecture)"
==
"armhf"
||
"$(dpkg --print-architecture)"
==
"amd64"
]];
then
LIST_CONST
=
4
# vpn server
VPN_SERVER_STATUS
=
"$([[ -d /usr/local/vpnserver ]] && echo "
on
" || echo "
off
" )"
LIST
+=
(
"VPN server"
"VPN server"
"
$VPN_SERVER_STATUS
"
)
LIST
+=
(
"VPN server"
"
Softether
VPN server"
"
$VPN_SERVER_STATUS
"
)
# vpn client
VPN_CLIENT_STATUS
=
"$([[ -d /usr/local/vpnclient ]] && echo "
on
" || echo "
off
" )"
LIST
+=
(
"VPN client"
"VPN client"
"
$VPN_CLIENT_STATUS
"
)
LIST
+=
(
"VPN client"
"
Softether
VPN client"
"
$VPN_CLIENT_STATUS
"
)
fi
# OMV
...
...
@@ -411,8 +415,8 @@ install_tvheadend (){
#------------------------------------------------------------------------------------------------------------------------------------------
# TVheadend https://tvheadend.org/ unofficial port https://tvheadend.org/boards/5/topics/21528
#------------------------------------------------------------------------------------------------------------------------------------------
if
!(grep -qs djbenson "
/etc/apt/sources.list.d/tvheadend.list
");
then
echo "deb https://dl.bintray.com/
djbenson/deb wheezy
stable" >> /etc/apt/sources.list.d/tvheadend.list
if
[ ! -f
/etc/apt/sources.list.d/tvheadend.list
];
then
echo "deb https://dl.bintray.com/
tvheadend/deb xenial
stable
-4.2
" >> /etc/apt/sources.list.d/tvheadend.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 >/dev/null 2>
&
1
fi
...
...
@@ -1091,6 +1095,12 @@ while true; do
read -n 1 -s -p "Press any key to continue"
fi
if [[ "$selection" == *ExaGear*
&&
"$EXAGEAR_STATUS" != "on" ]]; then
debconf-apt-progress -- apt-get update
debconf-apt-progress -- apt-get -y install exagear-armbian
read -n 1 -s -p "Press any key to continue"
fi
if [[ "$selection" == *server*
&&
"$VPN_SERVER_STATUS" != "on" ]]; then
install_vpn_server
read -n 1 -s -p "Press any key to continue"
...
...
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