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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user