From aada7a8fe71adfcefc492a26cfc04bc70addc224 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 24 Apr 1999 20:58:37 +0000 Subject: [PATCH] Sync with rc.i386 - use kldload rather than modload (which never existed on the Alpha anyway) --- etc/etc.alpha/rc.alpha | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/etc/etc.alpha/rc.alpha b/etc/etc.alpha/rc.alpha index 81bbfaabd1e..1ab5f4cf44c 100644 --- a/etc/etc.alpha/rc.alpha +++ b/etc/etc.alpha/rc.alpha @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.alpha,v 1.1 1998/05/20 03:01:42 jkh Exp $ +# $Id: rc.alpha,v 1.2 1998/08/31 08:57:56 dfr Exp $ # Do alpha specific processing # @@ -76,8 +76,10 @@ fi # screen saver if [ "X${saver}" != X"NO" ] ; then echo -n ' screensaver' - modstat | grep -q _saver || \ - modload -u -o /tmp/saver_mod -q /lkm/${saver}_saver_mod.o + for i in `kldstat | awk '$5 ~ "^splash_.*$" { print $5 }'`; do + kldunload $i + done + kldstat -v | grep -q _saver || kldload ${saver}_saver fi # mouse daemon