summaryrefslogtreecommitdiff
path: root/doc/forum/newbie_trying_to_set_up_NFS_mount/comment_4_09850c15b6ac6849be035956dbb46f44._comment
blob: 74c959e8d52d6ef2cd7a8324e6b2c3251bd61ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[[!comment format=mdwn
 username="joey"
 subject="""comment 4"""
 date="2016-04-07T04:21:39Z"
 content="""
That's quite a nice elegant solution, Frederik!

It'll work if you use

	`onChange` (cmdProperty "mount" ["-a"] `assume` MadeChange)

This is ncessary because propellor doesn't know if `cmdProperty`
makes a change or not. In this case we can just assume it did.

I've added a `Propellor.Property.Fstab.mounted` this evening
that is essentially Frederik's solution.
"""]]