aboutsummaryrefslogtreecommitdiff
path: root/scripts/hostclass/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/hostclass/desktop')
-rw-r--r--scripts/hostclass/desktop9
1 files changed, 2 insertions, 7 deletions
diff --git a/scripts/hostclass/desktop b/scripts/hostclass/desktop
index 79b40f2..381aeef 100644
--- a/scripts/hostclass/desktop
+++ b/scripts/hostclass/desktop
@@ -22,13 +22,10 @@ EOF
fi
# Load linux kernel modules.
-load_kernel_module linux linux64
-set_loader_conf \
- linux_load=YES \
- linux64_load=YES
+sysrc -v linux_enable=YES
# Enable FUSE.
-set_loader_conf fusefs_load=YES
+sysrc -v kld_list+=fusefs
# Install packages common to all DEs.
pkg install -y $desktop_common_packages
@@ -58,8 +55,6 @@ sysrc -v "devfs_system_ruleset=${devfs_local_ruleset_name}"
service devfs restart
# Enable webcamd.
-load_kernel_module cuse
-set_loader_conf cuse_load=YES
sysrc -v webcamd_enable=YES
service webcamd status || service webcamd start