summaryrefslogtreecommitdiff
path: root/Property/Hostname.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Property/Hostname.hs')
-rw-r--r--Property/Hostname.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/Property/Hostname.hs b/Property/Hostname.hs
index 3d9d2ad0..204ff5d4 100644
--- a/Property/Hostname.hs
+++ b/Property/Hostname.hs
@@ -3,8 +3,6 @@ module Property.Hostname where
import Common
import qualified Property.File as File
-type HostName = String
-
set :: HostName -> Property
set hostname = "/etc/hostname" `File.hasContent` [hostname]
`onChange` cmdProperty "hostname" [Param hostname]