On Thu, 12 Dec 2019 16:52:21 -0800, Daniel Frey wrote: > I've been merging/unmerging packages for testing and some have to be > started via a daemon, so I've had to add them to /etc/runlevels/* via > rc-update. > > The problem is I was removing packages without doing `rc-update del > <service> <runlevel>`, leaving them added in the runlevel with no valid > script/symlink. > > Now, I could just do `ls -al /etc/runlevels/*` and search manually for > broken symlinks and then manually remove them.
How about: find -L /etc/runlevels -type l -- Neil Bothwick Every morning is the dawn of a new error...
pgpvJRTeJ9SCq.pgp
Description: OpenPGP digital signature

