aboutsummaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2016-07-17 14:53:12 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2016-07-18 17:09:41 -0500
commit314ae3dc781d7ae8fc26c276a85b0dc6ab6bc326 (patch)
treecf1f90ed1c5b0cf8d4eae15805c1017d3d0e912c /conf.d
parent695be59083cdf0d2ff9296f2c210e591c51bdf40 (diff)
modules: add support for FreeBSD
This is based on a patch submitted by Joe Maloney <pkgdemonteam@gmail.com>. This fixes #91.
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/Makefile2
-rw-r--r--conf.d/modules12
2 files changed, 9 insertions, 5 deletions
diff --git a/conf.d/Makefile b/conf.d/Makefile
index b8da0e04..fb54fc57 100644
--- a/conf.d/Makefile
+++ b/conf.d/Makefile
@@ -13,7 +13,7 @@ endif
MK= ../mk
include ${MK}/os.mk
-CONF-FreeBSD= ipfw moused powerd rarpd savecore syscons
+CONF-FreeBSD= ipfw modules moused powerd rarpd savecore syscons
CONF-Linux= consolefont devfs dmesg hwclock keymaps killprocs modules mtab \
net-online
diff --git a/conf.d/modules b/conf.d/modules
index a062a620..c35b9edf 100644
--- a/conf.d/modules
+++ b/conf.d/modules
@@ -1,18 +1,22 @@
-# You can define a list modules for a specific kernel version,
-# a released kernel version, a main kernel version or just a list.
+# Linux users can define a list of modules for a specific kernel version,
+# a released kernel version, a main kernel version or all kernel versions.
# The most specific versioned variable will take precedence.
+# FreeBSD users can only use the modules="foo bar" setting.
#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules_2="ipv6"
#modules="ohci1394"
-# You can give modules a different name when they load - the new name
+# Linux users can give modules a different name when they load - the new name
# will also be used to pick arguments below.
+# This is not supported on FreeBSD.
#modules="dummy:dummy1"
-# Give the modules some arguments if needed, per version if necessary.
+# Linux users can give the modules some arguments if needed, per version
+# if necessary.
# Again, the most specific versioned variable will take precedence.
+# This is not supported on FreeBSD.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="debug2"
#module_ieee1394_args_2_6_23="debug3"