aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/hostclass/desktop2
-rw-r--r--scripts/hostclass/freebsd_hypervisor1
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/hostclass/desktop b/scripts/hostclass/desktop
index 629ebc0..4f6e31f 100644
--- a/scripts/hostclass/desktop
+++ b/scripts/hostclass/desktop
@@ -55,7 +55,7 @@ add_group -g "$desktop_access_gid" "$desktop_access_role"
# Create desktop devfs ruleset.
install_template -m 0644 /etc/devfs.rules
sysrc -v "devfs_system_ruleset=${devfs_local_ruleset_name}"
-service devd restart
+service devfs restart
# Enable webcamd.
load_kernel_module cuse
diff --git a/scripts/hostclass/freebsd_hypervisor b/scripts/hostclass/freebsd_hypervisor
index 24c1da5..cbd9c92 100644
--- a/scripts/hostclass/freebsd_hypervisor
+++ b/scripts/hostclass/freebsd_hypervisor
@@ -76,6 +76,7 @@ install_template -m 0644 \
/usr/local/etc/vmctl.conf
install_template -m 0644 /etc/devfs.rules
+service devfs restart
# Enable jails/bhyve to start on boot.
sysrc -v \