diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-07-22 05:38:58 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-07-22 05:38:58 +0000 |
commit | ee67ce3672b76025c649c4fc95a4030d53b95f83 (patch) | |
tree | 84f2d91e7aa90abda70445fab2e5ec3c6d1580d2 /etc/etc.amd64 | |
parent | 79bdd98bf70a3c9072d6e7c0e4545f8c8c151108 (diff) | |
download | src-ee67ce3672b76025c649c4fc95a4030d53b95f83.tar.gz src-ee67ce3672b76025c649c4fc95a4030d53b95f83.zip |
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>
Notes
Notes:
svn path=/head/; revision=37813
Diffstat (limited to 'etc/etc.amd64')
-rw-r--r-- | etc/etc.amd64/rc.amd64 | 4 |
1 files changed, 2 insertions, 2 deletions
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 |