#!/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

