Move the running of the Linux and SVR4 compat bits to the arch independent
location. Sponsored by: LinuxWorld frustration
This commit is contained in:
parent
e3d24c1a5f
commit
3f6c47f3ec
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64684
@ -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
|
||||
|
@ -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
17
etc/rc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user