diff options
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] |
