diff options
Diffstat (limited to 'Property')
| -rw-r--r-- | Property/Reboot.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Property/Reboot.hs b/Property/Reboot.hs index 668a7a49..63987ad3 100644 --- a/Property/Reboot.hs +++ b/Property/Reboot.hs @@ -3,6 +3,5 @@ module Property.Reboot where import Property import Utility.SafeCommand -{- Use eg, "+5" to reboot in 5 minutes. -} -scheduled :: String -> Property -scheduled rebootwhen = cmdProperty "shutdown" [ Param "-r", Param rebootwhen ] +now -> Property +now = cmdProperty "reboot" [] |
