diff options
author | root <root@rshg054.dnsready.net> | 2012-01-10 23:15:00 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-10 23:15:00 +0000 |
commit | b8012183bbaae70ce4a714c618a967e85df9f521 (patch) | |
tree | 1df6f612c4f75faa9f54467e0a856bcdde0b6a1a /community/sysstat | |
parent | fdcaf644692e151ddc596b148465ce4a77e6b670 (diff) |
Tue Jan 10 23:14:59 UTC 2012
Diffstat (limited to 'community/sysstat')
-rw-r--r-- | community/sysstat/PKGBUILD | 6 | ||||
-rw-r--r-- | community/sysstat/sysstat | 7 |
2 files changed, 8 insertions, 5 deletions
diff --git a/community/sysstat/PKGBUILD b/community/sysstat/PKGBUILD index 4733577cd..cf6c4299d 100644 --- a/community/sysstat/PKGBUILD +++ b/community/sysstat/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 59567 2011-11-28 06:28:48Z spupykin $ +# $Id: PKGBUILD 61857 2012-01-09 10:22:30Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Martin Devera <devik@cdi.cz> pkgname=sysstat pkgver=10.0.3 -pkgrel=1 +pkgrel=2 pkgdesc="a collection of performance monitoring tools (iostat,isag,mpstat,pidstat,sadf,sar)" arch=('i686' 'x86_64') url="http://pagesperso-orange.fr/sebastien.godard/" @@ -18,7 +18,7 @@ backup=('etc/conf.d/sysstat' source=(http://pagesperso-orange.fr/sebastien.godard/$pkgname-$pkgver.tar.gz sysstat) md5sums=('0e1ed5200f31f69a3b90ff1e81c07745' - '0241e3dd701cf7badbd3bb8408fb7bc9') + '3ce41ebf7330aba01e70b38658afed1f') build() { cd $srcdir/$pkgname-$pkgver diff --git a/community/sysstat/sysstat b/community/sysstat/sysstat index e914567b8..d0e40aa05 100644 --- a/community/sysstat/sysstat +++ b/community/sysstat/sysstat @@ -1,8 +1,8 @@ #!/bin/bash -. /etc/rc.conf . /etc/rc.d/functions . /etc/conf.d/sysstat +. /etc/rc.conf case "$1" in start) @@ -11,12 +11,15 @@ case "$1" in if [ $? -gt 0 ]; then stat_fail else + add_daemon sysstat stat_done fi ;; stop) + echo "Stopping SysStat is useless" + rm_daemon sysstat ;; *) - echo "usage: $0 {start|stop}" + echo "usage: $0 {start|stop}" esac exit 0 |