Skip to content

Commit

Permalink
[BpSet] Switch to oe-a openvpn panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Ev0-BH committed Dec 8, 2021
1 parent a6095a7 commit 8117233
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/python/Screens/BpSet.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ def KeyOk(self):
except:
self.session.open(MessageBox, _("MiniDlna Server not installed."), MessageBox.TYPE_INFO)
elif self.sel == 11:
self.session.open(DeliteOpenvpn)
from Screens.NetworkSetup import NetworkOpenvpn
self.session.open(NetworkOpenvpn)
elif self.sel == 12:
self.session.open(Setup, "epgsettings")
elif self.sel == 13:
Expand Down Expand Up @@ -810,7 +811,7 @@ def activateVpn(self):

def restartVpn(self):
if self.my_vpn_active == False:
mybox = self.session.open(MessageBox, _("You have to Activate OpenVpn before to start"), MessageBox.TYPE_INFO)
mybox = self.session.open(MessageBox, _("You need to Activate OpenVpn before you can start it"), MessageBox.TYPE_INFO)
mybox.setTitle("Info")
elif self.my_vpn_active == True and self.my_vpn_run == False:
rc = system("/etc/init.d/openvpn start")
Expand Down

0 comments on commit 8117233

Please sign in to comment.