From 105c0f923ed7db23210a9593b6b677e61dae7d99 Mon Sep 17 00:00:00 2001 From: frederik@ffbea6a549cb3f460d110386c0f634c1ddc6a68a Date: Wed, 6 Apr 2016 14:14:23 +0000 Subject: Added a comment --- ...ent_3_a82855697a268a4f2165db717a652516._comment | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 doc/forum/newbie_trying_to_set_up_NFS_mount/comment_3_a82855697a268a4f2165db717a652516._comment (limited to 'doc/forum/newbie_trying_to_set_up_NFS_mount') diff --git a/doc/forum/newbie_trying_to_set_up_NFS_mount/comment_3_a82855697a268a4f2165db717a652516._comment b/doc/forum/newbie_trying_to_set_up_NFS_mount/comment_3_a82855697a268a4f2165db717a652516._comment new file mode 100644 index 00000000..f2274c05 --- /dev/null +++ b/doc/forum/newbie_trying_to_set_up_NFS_mount/comment_3_a82855697a268a4f2165db717a652516._comment @@ -0,0 +1,28 @@ +[[!comment format=mdwn + username="frederik@ffbea6a549cb3f460d110386c0f634c1ddc6a68a" + nickname="frederik" + subject="comment 3" + date="2016-04-06T14:14:23Z" + content=""" +I tried adding + + & File.dirExists \"/mnt/nfs\" + & \"/etc/fstab\" `File.containsLine` \"192.168.1.100:/mnt/usb1 /mnt/nfs nfs intr 0 0\" + `onChange` cmdProperty \"mount\" [\"-a\"] + +This mimicks the bitlbee example on /usr/local/propellor/config-joey.hs + +But that results: + + src/config.hs:36:11: + No instance for (Combines + (Property NoInfo) (UncheckedProperty NoInfo)) + arising from a use of ‘onChange’ + In the second argument of ‘(&)’, namely + ‘\"/etc/fstab\" + `File.containsLine` \"192.168.1.100:/mnt/usb1 /mnt/nfs nfs intr 0 0\" + `onChange` cmdProperty \"mount\" [\"-a\"]’ + + + +"""]] -- cgit v1.2.3