diff options
| author | Joey Hess <joey@kitenet.net> | 2014-04-03 02:27:17 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-04-03 02:27:17 -0400 |
| commit | fdb48b1dd11b802d0c2124fb3833672ca87ab870 (patch) | |
| tree | 6537cfb4d2211eaf478411ca95cec56dbe706bcc /Propellor/Property/Network.hs | |
| parent | 9a9f249ff0cfe2b5f601c84368457245ddb4d78b (diff) | |
api doc improvements
Diffstat (limited to 'Propellor/Property/Network.hs')
| -rw-r--r-- | Propellor/Property/Network.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Propellor/Property/Network.hs b/Propellor/Property/Network.hs index cbef8baa..eae5828f 100644 --- a/Propellor/Property/Network.hs +++ b/Propellor/Property/Network.hs @@ -23,5 +23,7 @@ ipv6to4 = fileProperty "ipv6to4" go interfaces , "# End automatically added by propeller" ] -ifUp :: String -> Property +type Interface = String + +ifUp :: Interface -> Property ifUp iface = cmdProperty "ifup" [iface] |
