Commit 722e9d51 authored by Natanael Copa's avatar Natanael Copa

main/gross: fix link in /etc/runlevels

fixes #72
parent a789d381
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gross
pkgver=1.0.1
pkgrel=2
pkgrel=3
pkgdesc="Greylisting of suspicious sources"
url="http://code.google.com/p/gross/"
license="BSD"
......@@ -54,4 +54,4 @@ bb75b119ac96b8f99831ce6df810003f gross-1.0.1-configure.ac.patch
8f6e45b98888dbb9971f7681bf431f6f gross.pre-install
4b55d1c5534167946cc11376d1b05c34 gross.post-install
87e7d76dace9cedf61efc04cdb6a905c gross.pre-upgrade
46df3a643ba26f3eb2d6a09f616e421d gross.post-upgrade"
9268f51b276ba00b0f50df322e34434e gross.post-upgrade"
......@@ -3,7 +3,8 @@
moved=
for i in /etc/runlevels/*/gross; do
if [ -L $i ]; then
mv ${i} ${i}d
rm ${i}
ln -s /etc/init.d/grossd ${i}d
moved=1
fi
done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment