mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
Part 2 of the linux LKM hook, and use the new screen saver entry
points in the modload, as enforced by the recent symorder and bsd.kmod.mk changes..
This commit is contained in:
parent
dd724f1d0c
commit
6bb214cdc6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11860
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.i386,v 1.9 1995/05/26 18:06:52 rgrimes Exp $
|
||||
# $Id: rc.i386,v 1.10 1995/07/17 20:07:47 rgrimes Exp $
|
||||
# Do i386 specific processing
|
||||
#
|
||||
|
||||
@ -11,6 +11,11 @@ if [ "X${ibcs2}" = X"YES" ]; then
|
||||
echo -n ' '; ibcs2
|
||||
fi
|
||||
|
||||
# Start the Linux binary emulation if requested.
|
||||
if [ "X${linux}" = X"YES" ]; then
|
||||
echo -n ' '; linux
|
||||
fi
|
||||
|
||||
if [ "X${xtend}" != X"NO" -a -x /usr/libexec/xtend ]; then
|
||||
echo -n ' xtend'; /usr/libexec/xtend
|
||||
fi
|
||||
@ -100,7 +105,7 @@ fi
|
||||
if [ "X${saver}" != X"NO" ] ; then
|
||||
echo -n ' screensaver: '
|
||||
modstat | grep _saver || modload -u -o /tmp/saver_mod -e \
|
||||
saver_init -q /lkm/${saver}_saver_mod.o
|
||||
${saver}_saver_mod -q /lkm/${saver}_saver_mod.o
|
||||
fi
|
||||
|
||||
echo '.'
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.i386,v 1.9 1995/05/26 18:06:52 rgrimes Exp $
|
||||
# $Id: rc.i386,v 1.10 1995/07/17 20:07:47 rgrimes Exp $
|
||||
# Do i386 specific processing
|
||||
#
|
||||
|
||||
@ -11,6 +11,11 @@ if [ "X${ibcs2}" = X"YES" ]; then
|
||||
echo -n ' '; ibcs2
|
||||
fi
|
||||
|
||||
# Start the Linux binary emulation if requested.
|
||||
if [ "X${linux}" = X"YES" ]; then
|
||||
echo -n ' '; linux
|
||||
fi
|
||||
|
||||
if [ "X${xtend}" != X"NO" -a -x /usr/libexec/xtend ]; then
|
||||
echo -n ' xtend'; /usr/libexec/xtend
|
||||
fi
|
||||
@ -100,7 +105,7 @@ fi
|
||||
if [ "X${saver}" != X"NO" ] ; then
|
||||
echo -n ' screensaver: '
|
||||
modstat | grep _saver || modload -u -o /tmp/saver_mod -e \
|
||||
saver_init -q /lkm/${saver}_saver_mod.o
|
||||
${saver}_saver_mod -q /lkm/${saver}_saver_mod.o
|
||||
fi
|
||||
|
||||
echo '.'
|
||||
|
Loading…
Reference in New Issue
Block a user