mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-19 12:36:06 +00:00
openvpn: Make frontpage shortcut appear after an upgrade
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
117c3d7507
commit
b8d4b55c0a
@ -79,6 +79,9 @@ def setup(helper, old_version=None):
|
||||
ports=['openvpn'], is_external=True,
|
||||
enable=enable, disable=disable)
|
||||
|
||||
if service.is_enabled() and is_setup():
|
||||
add_shortcut()
|
||||
|
||||
|
||||
def add_shortcut():
|
||||
"""Add shortcut in frontpage."""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user