diff options
| author | frederik@ffbea6a549cb3f460d110386c0f634c1ddc6a68a <frederik@web> | 2016-04-06 14:14:23 +0000 |
|---|---|---|
| committer | admin <admin@branchable.com> | 2016-04-06 14:14:23 +0000 |
| commit | 105c0f923ed7db23210a9593b6b677e61dae7d99 (patch) | |
| tree | e26cfafa89d0494fb7c90321c53f4e873a07beda /doc | |
| parent | dcac124a596c05f6a0816ad5322ad95692e255b9 (diff) | |
Added a comment
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/forum/newbie_trying_to_set_up_NFS_mount/comment_3_a82855697a268a4f2165db717a652516._comment | 28 |
1 files changed, 28 insertions, 0 deletions
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\"]’ + + + +"""]] |
