aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ipvsadm
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ipvsadm')
-rw-r--r--testing/ipvsadm/APKBUILD6
-rw-r--r--testing/ipvsadm/ipvsadm.initd4
2 files changed, 7 insertions, 3 deletions
diff --git a/testing/ipvsadm/APKBUILD b/testing/ipvsadm/APKBUILD
index fdf3e3cd35..01a36b0011 100644
--- a/testing/ipvsadm/APKBUILD
+++ b/testing/ipvsadm/APKBUILD
@@ -39,8 +39,8 @@ package() {
}
md5sums="9decaaaad2fd637ed06cffd954e66cf3 ipvsadm-1.27.tar.xz
-f3e8df193ebf50e4161bee64d34d2fc5 ipvsadm.initd"
+bebb015ea02ead2a84be2bd5af4eb74c ipvsadm.initd"
sha256sums="d360fb4dcf591e0a8a918831e2c02b1dc03e3c17ee1e60d0d70de9455238b3f8 ipvsadm-1.27.tar.xz
-462cc0ee041a0ed2a3bcb8a0f84c0c04a9394d046ba0c2dcb8ca454575207cb9 ipvsadm.initd"
+d18d70c39d5dff6325b7e21fbd61485384b642b15a0dfee935ec9b7d4b9f0b66 ipvsadm.initd"
sha512sums="cf982b7981674c91d1b7516de7b55cf378b306ce4a53e13976b8eeb8610015c4fa4aa9d251bc4d329db8e05c1862863160af2d3c63b76263f290087cffdf1b80 ipvsadm-1.27.tar.xz
-7e34e10a9bf975c2318605e9603ce2f2ab447563b7cfb6ef0cda2054ee5f73f97d5aa678cf43f9466ba2f6751a01e8830b85df9396ac973d4708472b275f476e ipvsadm.initd"
+43b2186f48f17d43524c1f4e9de06227c6d491845c466cf6f00214b74fcd5e181e8b855fef8c6fa78c62a924ee3cc3317099278f9656183de8678440bb070625 ipvsadm.initd"
diff --git a/testing/ipvsadm/ipvsadm.initd b/testing/ipvsadm/ipvsadm.initd
index 0e9399482e..17a4bfac5e 100644
--- a/testing/ipvsadm/ipvsadm.initd
+++ b/testing/ipvsadm/ipvsadm.initd
@@ -10,6 +10,9 @@ depend() {
}
checkconfig() {
+
+ checkpath --directory /var/lib/ipvsadm
+
if [ ! -f /var/lib/ipvsadm/rules-save ] ; then
eerror "Not starting ipvsadm. First create some rules then run"
eerror "/etc/init.d/ipvsadm save"
@@ -18,6 +21,7 @@ checkconfig() {
}
start() {
+ checkconfig || return 1
ebegin "Starting ipvsadm"
einfo "Clearing previous rules"
ipvsadm -C