aboutsummaryrefslogtreecommitdiffstats
path: root/main/gross/gross.post-upgrade
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-24 17:35:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-24 17:35:27 +0000
commit722e9d51ce6599b5a2a89265e0211ad66479c390 (patch)
tree7555c10452582ea79773fec73f531497dd511617 /main/gross/gross.post-upgrade
parenta789d38116786c218207863527327e58168ae088 (diff)
downloadaports-722e9d51ce6599b5a2a89265e0211ad66479c390.tar.bz2
aports-722e9d51ce6599b5a2a89265e0211ad66479c390.tar.xz
main/gross: fix link in /etc/runlevels
fixes #72
Diffstat (limited to 'main/gross/gross.post-upgrade')
-rw-r--r--main/gross/gross.post-upgrade3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/gross/gross.post-upgrade b/main/gross/gross.post-upgrade
index 1e52785e15..ff1c806dcf 100644
--- a/main/gross/gross.post-upgrade
+++ b/main/gross/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