summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorJoey Hess2015-10-23 17:37:07 -0400
committerJoey Hess2015-10-23 17:37:07 -0400
commit883493c2b243db5476a9a09ae9073541cfc5550f (patch)
treedb5697ebc40bd662d71351134729f5b87cd93419 /src/Propellor
parent799e96d22269ec3f04cef6efa00dcef91f77a4b9 (diff)
comments
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/Hostname.hs2
-rw-r--r--src/Propellor/Property/Mount.hs7
2 files changed, 5 insertions, 4 deletions
diff --git a/src/Propellor/Property/Hostname.hs b/src/Propellor/Property/Hostname.hs
index 8033bef8..4597b178 100644
--- a/src/Propellor/Property/Hostname.hs
+++ b/src/Propellor/Property/Hostname.hs
@@ -11,7 +11,7 @@ import Data.List.Utils
-- name the `Host` has.
--
-- Configures both </etc/hostname> and the current hostname.
--- (However, if used inside a chroot, avoids setting the current hostname
+-- (However, when used inside a chroot, avoids setting the current hostname
-- as that would impact the system outside the chroot.)
--
-- Configures </etc/mailname> with the domain part of the hostname.
diff --git a/src/Propellor/Property/Mount.hs b/src/Propellor/Property/Mount.hs
index 3f13388b..3f96044e 100644
--- a/src/Propellor/Property/Mount.hs
+++ b/src/Propellor/Property/Mount.hs
@@ -57,7 +57,7 @@ mount fs src mnt opts = boolSystem "mount" $
newtype SwapPartition = SwapPartition FilePath
--- | Replaces /etc/fstab with a file that should cause the currently
+-- | Replaces </etc/fstab> with a file that should cause the currently
-- mounted partitions to be re-mounted the same way on boot.
--
-- For each specified MountPoint, the UUID of each partition
@@ -110,8 +110,9 @@ genFstab mnts swaps mnttransform = do
uuidprefix = prefix "UUID="
sourceprefix = prefix "LABEL="
--- | Checks if /etc/fstab is not configured. This is the case if it doesn't
--- exist, or consists entirely of blank lines or comments.
+-- | Checks if </etc/fstab> is not configured.
+-- This is the case if it doesn't exist, or
+-- consists entirely of blank lines or comments.
--
-- So, if you want to only replace the fstab once, and then never touch it
-- again, allowing local modifications: