From 3bf88b434d231231bbbcb9a9d34eae91778016cf Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Sat, 7 Dec 2024 09:46:11 -0500 Subject: fixes for laptops --- files/usr/local/etc/chromium/policies/managed/policies.json.desktop | 2 +- files/usr/local/etc/polkit-1/rules.d/51-desktop.rules.laptop | 1 + .../local/etc/polkit-1/rules.d/51-desktop.rules.roadwarrior_laptop | 1 + files/usr/local/etc/poudriere.d/pkglist.pkg_repository | 1 + files/usr/local/etc/ssh/sshd_config.roadwarrior_laptop | 1 + files/usr/local/lib/firefox/distribution/policies.json.desktop | 4 ++-- files/usr/local/lib/thunderbird/distribution/policies.json.laptop | 1 + .../lib/thunderbird/distribution/policies.json.roadwarrior_laptop | 1 + 8 files changed, 9 insertions(+), 3 deletions(-) create mode 120000 files/usr/local/etc/polkit-1/rules.d/51-desktop.rules.laptop create mode 120000 files/usr/local/etc/polkit-1/rules.d/51-desktop.rules.roadwarrior_laptop create mode 120000 files/usr/local/etc/ssh/sshd_config.roadwarrior_laptop create mode 120000 files/usr/local/lib/thunderbird/distribution/policies.json.laptop create mode 120000 files/usr/local/lib/thunderbird/distribution/policies.json.roadwarrior_laptop (limited to 'files/usr/local') diff --git a/files/usr/local/etc/chromium/policies/managed/policies.json.desktop b/files/usr/local/etc/chromium/policies/managed/policies.json.desktop index 1391d09..e6ef0b7 100644 --- a/files/usr/local/etc/chromium/policies/managed/policies.json.desktop +++ b/files/usr/local/etc/chromium/policies/managed/policies.json.desktop @@ -86,7 +86,7 @@ "update_url": "https://clients2.google.com/service/update2/crx" }, "cimiefiiaegbelhefglklhhakcgmhkai": { - "installation_mode": "$(if [ "${desktop_type:-}" = kde ]; then echo normal_installed; else echo allowed; fi)", + "installation_mode": "normal_installed", "update_url": "https://clients2.google.com/service/update2/crx" } }, diff --git a/files/usr/local/etc/polkit-1/rules.d/51-desktop.rules.laptop b/files/usr/local/etc/polkit-1/rules.d/51-desktop.rules.laptop new file mode 120000 index 0000000..d524580 --- /dev/null +++ b/files/usr/local/etc/polkit-1/rules.d/51-desktop.rules.laptop @@ -0,0 +1 @@ +51-desktop.rules.desktop \ No newline at end of file diff --git a/files/usr/local/etc/polkit-1/rules.d/51-desktop.rules.roadwarrior_laptop b/files/usr/local/etc/polkit-1/rules.d/51-desktop.rules.roadwarrior_laptop new file mode 120000 index 0000000..d524580 --- /dev/null +++ b/files/usr/local/etc/polkit-1/rules.d/51-desktop.rules.roadwarrior_laptop @@ -0,0 +1 @@ +51-desktop.rules.desktop \ No newline at end of file diff --git a/files/usr/local/etc/poudriere.d/pkglist.pkg_repository b/files/usr/local/etc/poudriere.d/pkglist.pkg_repository index 3ee3437..a2027db 100644 --- a/files/usr/local/etc/poudriere.d/pkglist.pkg_repository +++ b/files/usr/local/etc/poudriere.d/pkglist.pkg_repository @@ -93,6 +93,7 @@ net-mgmt/icingadb net-mgmt/icingaweb2 net-mgmt/icingaweb2-module-icingadb net-mgmt/monitoring-plugins +net-mgmt/networkmgr net-mgmt/unifi8 net/asterisk18 net/freeradius3 diff --git a/files/usr/local/etc/ssh/sshd_config.roadwarrior_laptop b/files/usr/local/etc/ssh/sshd_config.roadwarrior_laptop new file mode 120000 index 0000000..355377d --- /dev/null +++ b/files/usr/local/etc/ssh/sshd_config.roadwarrior_laptop @@ -0,0 +1 @@ +sshd_config.no_idm \ No newline at end of file diff --git a/files/usr/local/lib/firefox/distribution/policies.json.desktop b/files/usr/local/lib/firefox/distribution/policies.json.desktop index aa2de1b..79625fe 100644 --- a/files/usr/local/lib/firefox/distribution/policies.json.desktop +++ b/files/usr/local/lib/firefox/distribution/policies.json.desktop @@ -11,11 +11,11 @@ }, "{9cbd40c5-5275-443e-811b-dc57d8c7c5d2}": { "install_url": "https://addons.mozilla.org/firefox/downloads/latest/kde-default-breeze/latest.xpi", - "installation_mode": "$(if [ "${desktop_type:-}" = kde ]; then echo 'normal_installed'; else echo 'allowed'; fi)" + "installation_mode": "normal_installed" }, "plasma-browser-integration@kde.org": { "install_url": "https://addons.mozilla.org/firefox/downloads/latest/plasma-integration/latest.xpi", - "installation_mode": "$(if [ "${desktop_type:-}" = kde ]; then echo normal_installed; else echo allowed; fi)" + "installation_mode": "normal_installed" } }, "3rdparty": { diff --git a/files/usr/local/lib/thunderbird/distribution/policies.json.laptop b/files/usr/local/lib/thunderbird/distribution/policies.json.laptop new file mode 120000 index 0000000..93bcb92 --- /dev/null +++ b/files/usr/local/lib/thunderbird/distribution/policies.json.laptop @@ -0,0 +1 @@ +policies.json.desktop \ No newline at end of file diff --git a/files/usr/local/lib/thunderbird/distribution/policies.json.roadwarrior_laptop b/files/usr/local/lib/thunderbird/distribution/policies.json.roadwarrior_laptop new file mode 120000 index 0000000..93bcb92 --- /dev/null +++ b/files/usr/local/lib/thunderbird/distribution/policies.json.roadwarrior_laptop @@ -0,0 +1 @@ +policies.json.desktop \ No newline at end of file -- cgit v1.2.3