dma(8): install default conf files with installworld
authorJohn Marino <draco@marino.st>
Mon, 2 Mar 2015 13:45:55 +0000 (14:45 +0100)
committerJohn Marino <draco@marino.st>
Mon, 2 Mar 2015 14:59:46 +0000 (15:59 +0100)
commit0cde307f0d0dcc48c7dc2c2bcd2525f3c3ae68dd
treec8460573bad893657e126a8fe2fa420aee830076
parent753c9ac1003ad558c1110f145b4c79356899e400
dma(8): install default conf files with installworld

Previously dma configure files were only installed with the
"make distribution" command.  Additionally, the user was expected to
modify them as opposed to copies of them.  This is probably why there
were part of distribution, in order to avoid overwriting the dma.conf
and auth.conf.

The negative side to this approach is that updated *.conf sample files
would never be installed.  Since the dma.conf is actually completely
commented out, and since it doesn't fail in the absence of dma.conf,
these files aren't actually needed.

This commit installs /etc/dma/dma.conf.sample and /etc/dma/auth.conf.sample
files during installworld instead.  Future updates to the *.conf.sample
files will overwrite them, but obviously /etc/dma/*.conf will not be
touched. Some of the sendfile conf files are provided as .sample, so the
concept is not new for DragonFly.
etc/Makefile
libexec/dma/Makefile
libexec/dma/Makefile.etc [deleted file]
libexec/dma/default-conf/Makefile [new file with mode: 0644]