mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 19:29:22 +01:00
11 lines
258 B
Bash
Executable File
11 lines
258 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# This script should resolve SELINUX warnings about NetworkManager not
|
|
# permitted to unlink files.
|
|
|
|
set -x
|
|
for targetfile in $(find /var/lib/iwd/*.{psk,open}); do
|
|
semanage fcontext -a -t NetworkManager_etc_rw_t $targetfile
|
|
done
|
|
set +x
|