aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-22 21:17:43 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-22 21:17:43 -0300
commit3b69b21fb665622ba1445588f2c9b857df274269 (patch)
tree8ba325da0c07bb01f19b6fe5c4fcf3f3b431a5a7
parent2f891dd83849af655672f1cf446ad6882717569e (diff)
downloadaports-3b69b21fb665622ba1445588f2c9b857df274269.tar.gz
aports-3b69b21fb665622ba1445588f2c9b857df274269.tar.bz2
aports-3b69b21fb665622ba1445588f2c9b857df274269.tar.xz
community/vnstat: fix init script
-rw-r--r--community/vnstat/APKBUILD4
-rw-r--r--community/vnstat/vnstatd.initd2
2 files changed, 3 insertions, 3 deletions
diff --git a/community/vnstat/APKBUILD b/community/vnstat/APKBUILD
index e065f2a043..fcebf80783 100644
--- a/community/vnstat/APKBUILD
+++ b/community/vnstat/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=vnstat
pkgver=2.6
-pkgrel=0
+pkgrel=1
pkgdesc="Console-based network traffic monitor"
url="http://humdi.net/vnstat"
arch="all"
@@ -41,5 +41,5 @@ check() {
}
sha512sums="1a62fc9c2379b050208945e85bad04f602a0f2c71e6bd069d241c1df77c76ec6258948fc3fdf633b15c52665782cae4f995a916103d330bfb46cab0291d3a1ea vnstat-2.6.tar.gz
-2aba0dd07cd347b711e9aa1becf170fe24dfafe67adc972b70c90767cb23d930e77b705f24186e20581716b12bec4f86762546c126f6cff4d9d23a2048c40a63 vnstatd.initd
+b7372c7638a56ebe00642d871ff94589b6a5a402bff32f01383bdb87af01de55fd3dc88884693604bd154f28dad2ba503a2f761fd39576a0512538fc89ed4ddc vnstatd.initd
d645817913d5b52e928561b3d6a0e869d8ae5db81b97af91c1ebfc6a8cd2df666c1653e6dc5f91c0a890033a89692f77eaf081c1cae5590446c69a70ea263946 vnstatd.confd"
diff --git a/community/vnstat/vnstatd.initd b/community/vnstat/vnstatd.initd
index 6d8c89a022..8a6e7ed91a 100644
--- a/community/vnstat/vnstatd.initd
+++ b/community/vnstat/vnstatd.initd
@@ -19,7 +19,7 @@ depend() {
use net
}
-pre_start() {
+start_pre() {
checkpath -q -d -m 755 -o $command_user /var/lib/vnstat
}