diff options
-rw-r--r-- | lib/AdminPanel/Module/Services.pm | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/AdminPanel/Module/Services.pm b/lib/AdminPanel/Module/Services.pm index b154b9d2..c82df0a3 100644 --- a/lib/AdminPanel/Module/Services.pm +++ b/lib/AdminPanel/Module/Services.pm @@ -235,13 +235,13 @@ sub BUILD { sub start { my $self = shift; - if ($EUID != 0) { - $self->sh_gui->warningMsgBox({ - title => $self->name, - text => $self->loc->N("root privileges required"), - }); - return; - } +# if ($EUID != 0) { +# $self->sh_gui->warningMsgBox({ +# title => $self->name, +# text => $self->loc->N("root privileges required"), +# }); +# return; +# } $self->_servicePanel(); }; @@ -267,7 +267,8 @@ sub start { sub loadServices { my $self = shift; - my ($l, $on_services) = $self->sh_services->services(); + my $refresh = 1; + my ($l, $on_services) = $self->sh_services->services($refresh); my @xinetd_services = map { $_->[0] } $self->sh_services->xinetd_services(); $self->_xinetd_services(); |