#!/bin/sh

file /etc/rc?.d/[SK]???* | 
    grep ": *symbolic link to ../init.d/[-a-zA-Z0-9_.]*$" |
    sed "s/: *symbolic.*$//"

