summaryrefslogtreecommitdiffstats
path: root/main/gross/gross.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'main/gross/gross.post-upgrade')
-rw-r--r--main/gross/gross.post-upgrade17
1 files changed, 17 insertions, 0 deletions
diff --git a/main/gross/gross.post-upgrade b/main/gross/gross.post-upgrade
new file mode 100644
index 000000000..ff1c806dc
--- /dev/null
+++ b/main/gross/gross.post-upgrade
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+moved=
+for i in /etc/runlevels/*/gross; do
+ if [ -L $i ]; then
+ rm ${i}
+ ln -s /etc/init.d/grossd ${i}d
+ moved=1
+ fi
+done
+
+if [ -n "$moved" ]; then
+ echo " *"
+ echo " * NOTICE: /etc/init.d/gross is renamed to /etc/init.d/grossd"
+ echo " *"
+fi
+