From 245d54a012381fbb5b8e38a18415a67d3911d8ef Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Tue, 5 Nov 2024 21:59:12 -0500 Subject: more desktop fixes --- files/etc/devfs.rules.desktop | 5 +++++ files/etc/pf.conf.freebsd | 2 +- files/etc/pf.conf.nfs_server | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'files/etc') diff --git a/files/etc/devfs.rules.desktop b/files/etc/devfs.rules.desktop index ec38210..e614ab2 100644 --- a/files/etc/devfs.rules.desktop +++ b/files/etc/devfs.rules.desktop @@ -3,3 +3,8 @@ add path 'drm/*' mode 0660 group ${desktop_access_role} add path 'backlight/*' mode 0660 group ${desktop_access_role} add path 'video*' mode 0660 group ${desktop_access_role} add path 'usb/*' mode 0660 group ${desktop_access_role} +add path 'xpt*' mode 0660 group ${desktop_access_role} +add path 'cd*' mode 0660 group ${desktop_access_role} +$(if [ -n "${desktop_rw_devices:-}" ]; then +printf "add path '%s' mode 0660 group ${desktop_access_role}\n" $desktop_rw_devices +fi) diff --git a/files/etc/pf.conf.freebsd b/files/etc/pf.conf.freebsd index 881fcea..d9fc236 100644 --- a/files/etc/pf.conf.freebsd +++ b/files/etc/pf.conf.freebsd @@ -18,7 +18,7 @@ set skip on lo $([ -n "${pf_skip_interfaces:-}" ] && printf \ 'set skip on %s\n' $pf_skip_interfaces) -scrub in on \$egress all fragment reassemble no-df +scrub in on \$egress all fragment reassemble $([ "${acme_standalone:-}" = true ] && echo \ 'rdr on $egress inet proto tcp to port http -> ($egress) port $acme_standalone_port' diff --git a/files/etc/pf.conf.nfs_server b/files/etc/pf.conf.nfs_server index 628ed7c..f9e83cc 100644 --- a/files/etc/pf.conf.nfs_server +++ b/files/etc/pf.conf.nfs_server @@ -18,7 +18,7 @@ set skip on lo $([ -n "${pf_skip_interfaces:-}" ] && printf \ 'set skip on %s\n' $pf_skip_interfaces) -scrub in on \$egress all fragment reassemble no-df +scrub in on \$egress all fragment reassemble $([ "${acme_standalone:-}" = true ] && echo \ 'rdr on $egress inet proto tcp to port http -> ($egress) port $acme_standalone_port' -- cgit v1.2.3