What is the appropriate way to shutdown FreeNAS from command line?
For 2 years now I used just "halt".
But I need to issue this command via a script from a different computer so I do:
Now recently it happens that the ssh client hangs and never terminates/times out; there is no output of the command. So I am not sure if halt is actually the correct way to do ...
For 2 years now I used just "halt".
But I need to issue this command via a script from a different computer so I do:
Code:
ssh -i pubkey root@freenas 'halt'
Now recently it happens that the ssh client hangs and never terminates/times out; there is no output of the command. So I am not sure if halt is actually the correct way to do ...