From fdb48b1dd11b802d0c2124fb3833672ca87ab870 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 3 Apr 2014 02:27:17 -0400 Subject: api doc improvements --- Propellor/Property/Network.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Propellor/Property/Network.hs') 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] -- cgit v1.2.3