diff options
| author | Joey Hess <joey@kitenet.net> | 2014-03-30 02:12:48 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-03-30 02:12:48 -0400 |
| commit | d50e4dedb20054877916191d66d537defb738667 (patch) | |
| tree | f10003f9b66430272f13c41832078b93f2b4fb68 /Property | |
| parent | c8bd3436973f2c6f742ab9d4189e686f58bfa412 (diff) | |
improved
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" [] |
