#!/bin/dash
set -e
file /etc/rc?.d/[SK]???* |
    grep -E ": *symbolic link to \`?../init.d/[-a-zA-Z0-9_.]*'?$" |
    sed "s/: *symbolic.*$//"

