forked from ungleich-public/ccollect
Fixed fatal typo in documentation, which would make pre/post_exec unusable
This commit is contained in:
parent
27d1786af1
commit
a28fae4a0b
2 changed files with 4 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -45,7 +45,7 @@ update:
|
|||
|
||||
push-work:
|
||||
@cg-push creme
|
||||
@cg-push main
|
||||
@cg-push sygroup
|
||||
|
||||
publish-doc: documentation
|
||||
@chmod a+r doc/ccollect.html
|
||||
|
|
|
@ -126,9 +126,9 @@ The following example describes how to report free disk space in
|
|||
human readable format before and after the whole backup process:
|
||||
-------------------------------------------------------------------------
|
||||
[13:00] hydrogenium:~# mkdir -p /etc/ccollect/defaults/
|
||||
[13:00] hydrogenium:~# echo '!/bin/sh' > /etc/ccollect/defaults/pre_exec
|
||||
[13:01] hydrogenium:~# echo '' >> /etc/ccollect/defaults/pre_exec
|
||||
[13:01] hydrogenium:~# echo 'df -h' >> /etc/ccollect/defaults/pre_exec
|
||||
[13:00] hydrogenium:~# echo '#!/bin/sh' > /etc/ccollect/defaults/pre_exec
|
||||
[13:01] hydrogenium:~# echo '' >> /etc/ccollect/defaults/pre_exec
|
||||
[13:01] hydrogenium:~# echo 'df -h' >> /etc/ccollect/defaults/pre_exec
|
||||
[13:01] hydrogenium:~# chmod 0755 /etc/ccollect/defaults/pre_exec
|
||||
[13:01] hydrogenium:~# ln -s /etc/ccollect/defaults/pre_exec /etc/ccollect/defaults/post_exec
|
||||
-------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue