ShutdownOS

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

ShutdownOS


 

Shut down the OS.

 


syntax

ShutdownOS(

         [type = "shutdown"]

         )

 


Parameters

 

type

 

Type:

character

 

Shutdown type. If nothing is specified, it will be "shutdown".

 

"shutdown" - Shuts down the system so that it is safe to turn off the power. (default)

"shutdown_force" -        Same as "shutdown", but will also forcefully terminate processes that have not terminated.

"logoff"        -      Terminates all processes running in the security context of the calling process and logs off the current user.

" logoff _force"        -      Same as " logoff ", but forces a process that does not terminate.

" poweroff"        -      Shuts down the system and then turns off the power. The OS must support the power off feature.

" poweroff _force"        -      Same as " poweroff ", but forcefully terminates processes that do not terminate.

" reboot"        -      Shuts down the system and then restarts it.

" reboot _force"          Same as " reboot ", but forces the termination of processes that do not terminate.

 

Return Value

 

 

Type:

Boolean

 

FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


Supported


×

Script Action

○

Browser script

×

Calculation Expression Syntax

 

 


reference