]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make "/etc/rc.d/syscons start" correctly reload screensaver settings.
authormux <mux@FreeBSD.org>
Mon, 12 Mar 2007 22:35:43 +0000 (22:35 +0000)
committermux <mux@FreeBSD.org>
Mon, 12 Mar 2007 22:35:43 +0000 (22:35 +0000)
commit722e1ccb03c6caaf588dafad23686fe084ffa5ed
tree988be208989df30dc133786e89a32d8541699cae
parent94c4c2a79baa0f738b93a12258088cac0bc843a3
Make "/etc/rc.d/syscons start" correctly reload screensaver settings.

The code looks for all the loaded screensaver modules, tries to
kldunload them, and only loads the new one if kldstat's output shows
that there aren't any left.  However, the regexp looking for modules
to unload was still searching according to the the old naming scheme,
splash_<name>.ko, instead of <name>_saver.ko.

MFC after: 3 days
etc/rc.d/syscons