summaryrefslogtreecommitdiff
path: root/Property
diff options
context:
space:
mode:
authorJoey Hess2014-03-30 02:12:48 -0400
committerJoey Hess2014-03-30 02:12:48 -0400
commitd50e4dedb20054877916191d66d537defb738667 (patch)
treef10003f9b66430272f13c41832078b93f2b4fb68 /Property
parentc8bd3436973f2c6f742ab9d4189e686f58bfa412 (diff)
improved
Diffstat (limited to 'Property')
-rw-r--r--Property/Reboot.hs5
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" []