diff options
| author | Joey Hess <joey@kitenet.net> | 2014-03-29 23:24:40 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-03-29 23:25:04 -0400 |
| commit | 0e1b587442fb78bcbf4886b53b85ab64b45215b0 (patch) | |
| tree | 9a5e32a9b96c4d025ed38b360c87acba0aaf5524 /Property/Reboot.hs | |
| parent | d9af8bac5eb7836a3c90e37e870fd73d30b841fd (diff) | |
install systemd on clam and then reboot
Diffstat (limited to 'Property/Reboot.hs')
| -rw-r--r-- | Property/Reboot.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Property/Reboot.hs b/Property/Reboot.hs new file mode 100644 index 00000000..668a7a49 --- /dev/null +++ b/Property/Reboot.hs @@ -0,0 +1,8 @@ +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 ] |
