Jump to content

Disabling PowerOff


marco.piovani

Recommended Posts

Hi all!
I've found this great service and i've configured on my server for some tests.

I've made some changes on config.xml in order to add more services and ports and also disable the shutdown and the power off options.

At the moment I have disabled the shutdown option (via config.xml) but not the other one.

This is the portion of code:

<AllowedCommands>
    <Restart Allowed="true" />
    <ShutDown Allowed="false" />
    <PowerOff Allowed="false" />
    <Suspend Allowed="false" />
    <Hibernate Allowed="false" />
</AllowedCommands>

Server is a machine running Ubuntu 14.04 x64, Client is a Windows Phone 8.1

Even if it's all configured and it's seems ok, I can power off the machine and I don't want this possibility.

 

How can I solve it?

 

 

Thanks,

Marco

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...