forked from Lainports/freebsd-ports
update bsdsar_gather's arguments in pkg-install
Submitted by: leafy <leafy@leafy.idv.tw> Reviewed by: eric@trinitel.com Approved by: eric@trinitel.com
This commit is contained in:
parent
69ce2b3499
commit
8ff9b87bcf
2 changed files with 3 additions and 3 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= bsdsar
|
||||
PORTVERSION= 1.10
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.googlebit.com/bsdsar/
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ case $2 in
|
|||
POST-INSTALL)
|
||||
echo "Adding 2 lines to /etc/crontab ..."
|
||||
echo "# bsdsar execution" >> /etc/crontab
|
||||
echo "20,40 8-18 * * * root $PKG_PREFIX/bin/bsdsar_gather /var/log" >> /etc/crontab
|
||||
echo "0 * * * * root $PKG_PREFIX/bin/bsdsar_gather /var/log" >> /etc/crontab
|
||||
echo "20,40 8-18 * * * root $PKG_PREFIX/bin/bsdsar_gather" >> /etc/crontab
|
||||
echo "0 * * * * root $PKG_PREFIX/bin/bsdsar_gather" >> /etc/crontab
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue