diff options
author | phk <phk@FreeBSD.org> | 1998-07-22 05:38:58 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-07-22 05:38:58 +0000 |
commit | 69a37778c2b29bff10561dbdc39e0782e267cbff (patch) | |
tree | 957319873d0eab5f98134e5eed8eaa8ac6eb05bb /etc/etc.i386 | |
parent | 62f0de548238d1cd10bd45ad032897d30c11d28c (diff) | |
download | FreeBSD-src-69a37778c2b29bff10561dbdc39e0782e267cbff.zip FreeBSD-src-69a37778c2b29bff10561dbdc39e0782e267cbff.tar.gz |
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 <Jos.backus@nl.origin-it.com>
Diffstat (limited to 'etc/etc.i386')
-rw-r--r-- | etc/etc.i386/rc.i386 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.i386/rc.i386 b/etc/etc.i386/rc.i386 index 762f6aa..13f7281 100644 --- a/etc/etc.i386/rc.i386 +++ b/etc/etc.i386/rc.i386 @@ -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 |