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
3dbec2af
Commit
3dbec2af
authored
Aug 31, 2017
by
Thomas Kaiser
Committed by
GitHub
Aug 31, 2017
Browse files
Allow OMV 3 installation only with Jessie
parent
357fb1b0
Changes
1
Show whitespace changes
Inline
Side-by-side
softy
View file @
3dbec2af
...
@@ -30,7 +30,7 @@ VPN_SERVER_STATUS="$([[ -d /usr/local/vpnserver ]] && echo "on" || echo "off" )"
...
@@ -30,7 +30,7 @@ VPN_SERVER_STATUS="$([[ -d /usr/local/vpnserver ]] && echo "on" || echo "off" )"
LIST
+=
(
"VPN server"
"VPN server"
"
$VPN_SERVER_STATUS
"
)
LIST
+=
(
"VPN server"
"VPN server"
"
$VPN_SERVER_STATUS
"
)
# OMV
# OMV
OMV_STATUS
=
"$([[ -f /etc/default/openmediavault ]] && echo "
on
" || echo "
off
" )"
OMV_STATUS
=
"$([[ -f /etc/default/openmediavault ]] && echo "
on
" || echo "
off
" )"
[[
"
$
family
"
==
"Debian
"
]]
&&
LIST
+=
(
"OMV"
"OpenMediaVault NAS solution"
"
$OMV_STATUS
"
)
&&
LIST_CONST
=
4
[[
"
$
distribution
"
==
"jessie
"
]]
&&
LIST
+=
(
"OMV"
"OpenMediaVault NAS solution"
"
$OMV_STATUS
"
)
&&
LIST_CONST
=
4
# MINIdlna
# MINIdlna
MINIDLNA_STATUS
=
"$([[ -f /etc/minidlna.conf ]] && echo "
on
" || echo "
off
" )"
MINIDLNA_STATUS
=
"$([[ -f /etc/minidlna.conf ]] && echo "
on
" || echo "
off
" )"
LIST
+=
(
"Minidlna"
"Lightweight DLNA/UPnP-AV server"
"
$MINIDLNA_STATUS
"
)
LIST
+=
(
"Minidlna"
"Lightweight DLNA/UPnP-AV server"
"
$MINIDLNA_STATUS
"
)
...
...
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