Move the running of the Linux and SVR4 compat bits to the arch independent

location.

Sponsored by:   LinuxWorld frustration
This commit is contained in:
David E. O'Brien 2000-08-15 18:02:49 +00:00
parent e3d24c1a5f
commit 3f6c47f3ec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64684
3 changed files with 17 additions and 32 deletions

View File

@ -35,22 +35,6 @@ case ${ibcs2_enable} in
;;
esac
# Start the Linux binary compatibility if requested.
#
case ${linux_enable} in
[Yy][Ee][Ss])
echo -n ' linux'; linux > /dev/null 2>&1
;;
esac
# Start the SysVR4 binary emulation if requested.
#
case ${svr4_enable} in
[Yy][Ee][Ss])
echo -n ' svr4'; svr4 > /dev/null 2>&1
;;
esac
case ${xtend_enable} in
[Yy][Ee][Ss])
echo -n ' xtend'; /usr/libexec/xtend

View File

@ -35,22 +35,6 @@ case ${ibcs2_enable} in
;;
esac
# Start the Linux binary compatibility if requested.
#
case ${linux_enable} in
[Yy][Ee][Ss])
echo -n ' linux'; linux > /dev/null 2>&1
;;
esac
# Start the SysVR4 binary emulation if requested.
#
case ${svr4_enable} in
[Yy][Ee][Ss])
echo -n ' svr4'; svr4 > /dev/null 2>&1
;;
esac
case ${xtend_enable} in
[Yy][Ee][Ss])
echo -n ' xtend'; /usr/libexec/xtend

17
etc/rc
View File

@ -543,6 +543,23 @@ if [ -r /etc/rc.devfs ]; then
sh /etc/rc.devfs
fi
# Start the Linux binary compatibility if requested.
#
case ${linux_enable} in
[Yy][Ee][Ss])
echo -n ' linux'; linux > /dev/null 2>&1
;;
esac
# Start the SysVR4 binary emulation if requested.
#
case ${svr4_enable} in
[Yy][Ee][Ss])
echo -n ' svr4'; svr4 > /dev/null 2>&1
;;
esac
# Do traditional (but rather obsolete) rc.local file if it exists. If you
# use this file and want to make it programmatic, source /etc/defaults/rc.conf
# in /etc/rc.local and add your custom variables to /etc/rc.conf, as