From ee67ce3672b76025c649c4fc95a4030d53b95f83 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Wed, 22 Jul 1998 05:38:58 +0000 Subject: modstat | grep _saver is used to determine if a screensaver is loaded already. The modstat output goes to the screen. PR: 7351 Reviewed by: phk Submitted by: Jos Backus --- etc/etc.amd64/rc.amd64 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/etc.amd64') diff --git a/etc/etc.amd64/rc.amd64 b/etc/etc.amd64/rc.amd64 index 762f6aaeae39..13f7281d5a2a 100644 --- a/etc/etc.amd64/rc.amd64 +++ b/etc/etc.amd64/rc.amd64 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.i386,v 1.33 1998/04/02 15:17:52 ache Exp $ +# $Id: rc.i386,v 1.34 1998/04/02 15:33:49 ache Exp $ # Do i386 specific processing # @@ -94,7 +94,7 @@ fi # screen saver if [ "X${saver}" != X"NO" ] ; then echo -n ' screensaver' - modstat | grep _saver || \ + modstat | grep -q _saver || \ modload -u -o /tmp/saver_mod -q /lkm/${saver}_saver_mod.o fi -- cgit v1.2.3