summaryrefslogtreecommitdiffstats
path: root/extra/gross/gross.post-upgrade
blob: 1e52785e15ea177ac4d90e5b981d3176c90763e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

moved=
for i in /etc/runlevels/*/gross; do
	if [ -L $i ]; then
		mv ${i} ${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