summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-08-15 18:02:49 +0000
committerobrien <obrien@FreeBSD.org>2000-08-15 18:02:49 +0000
commitb4ef1cd578c41f9d2bf091eff7c199390d3c2923 (patch)
tree7f7a6333dc2095e00ad24b7e5423173db95ef260 /etc/rc
parent740ddcaef2f6944d79ef4554ef453f523e07b437 (diff)
downloadFreeBSD-src-b4ef1cd578c41f9d2bf091eff7c199390d3c2923.zip
FreeBSD-src-b4ef1cd578c41f9d2bf091eff7c199390d3c2923.tar.gz
Move the running of the Linux and SVR4 compat bits to the arch independent
location. Sponsored by: LinuxWorld frustration
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc17
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index d3da463..ca94011 100644
--- a/etc/rc
+++ b/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
OpenPOWER on IntegriCloud