summaryrefslogtreecommitdiffstats
path: root/main/gross/gross.post-upgrade
blob: ff1c806dcf0db4b612cad542698b1b49f1714645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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