mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-06-14 11:07:20 +02:00
10 lines
288 B
Bash
Executable File
10 lines
288 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# This script should resolve SELINUX warnings about NetworkManager not
|
|
# permitted to unlink files.
|
|
|
|
set -x
|
|
find /var/lib/iwd/*.{psk,open} -exec semanage fcontext -a -t NetworkManager_etc_rw_t '{}' \;
|
|
find /var/lib/iwd/*.{psk,open} -exec restorecon -v '{}' \;
|
|
set +x
|